claude-mpm 4.25.10__py3-none-any.whl → 5.1.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.
Potentially problematic release.
This version of claude-mpm might be problematic. Click here for more details.
- claude_mpm/VERSION +1 -1
- claude_mpm/agents/BASE_PM.md +12 -0
- claude_mpm/agents/PM_INSTRUCTIONS.md +1055 -2230
- claude_mpm/agents/PM_INSTRUCTIONS_TEACH.md +1322 -0
- claude_mpm/agents/WORKFLOW.md +4 -4
- claude_mpm/agents/__init__.py +6 -0
- claude_mpm/agents/agent_loader.py +1 -4
- claude_mpm/agents/base_agent_loader.py +10 -35
- claude_mpm/agents/templates/{circuit_breakers.md → circuit-breakers.md} +576 -66
- claude_mpm/agents/templates/context-management-examples.md +544 -0
- claude_mpm/agents/templates/pr-workflow-examples.md +427 -0
- claude_mpm/agents/templates/research-gate-examples.md +669 -0
- claude_mpm/agents/templates/structured-questions-examples.md +615 -0
- claude_mpm/agents/templates/ticket-completeness-examples.md +139 -0
- claude_mpm/agents/templates/ticketing-examples.md +277 -0
- claude_mpm/cli/__init__.py +28 -3
- claude_mpm/cli/commands/__init__.py +2 -0
- claude_mpm/cli/commands/agent_source.py +774 -0
- claude_mpm/cli/commands/agent_state_manager.py +188 -30
- claude_mpm/cli/commands/agents.py +959 -36
- claude_mpm/cli/commands/agents_cleanup.py +210 -0
- claude_mpm/cli/commands/agents_discover.py +338 -0
- claude_mpm/cli/commands/auto_configure.py +537 -239
- claude_mpm/cli/commands/config.py +7 -4
- claude_mpm/cli/commands/configure.py +924 -45
- claude_mpm/cli/commands/configure_navigation.py +63 -46
- claude_mpm/cli/commands/doctor.py +10 -2
- claude_mpm/cli/commands/local_deploy.py +1 -4
- claude_mpm/cli/commands/postmortem.py +401 -0
- claude_mpm/cli/commands/run.py +1 -39
- claude_mpm/cli/commands/skill_source.py +694 -0
- claude_mpm/cli/commands/skills.py +322 -19
- claude_mpm/cli/executor.py +22 -3
- claude_mpm/cli/interactive/agent_wizard.py +1028 -43
- claude_mpm/cli/parsers/agent_source_parser.py +171 -0
- claude_mpm/cli/parsers/agents_parser.py +256 -4
- claude_mpm/cli/parsers/auto_configure_parser.py +13 -0
- claude_mpm/cli/parsers/base_parser.py +25 -0
- claude_mpm/cli/parsers/config_parser.py +96 -43
- claude_mpm/cli/parsers/skill_source_parser.py +169 -0
- claude_mpm/cli/parsers/skills_parser.py +7 -0
- claude_mpm/cli/parsers/source_parser.py +138 -0
- claude_mpm/cli/startup.py +456 -103
- claude_mpm/cli/startup_display.py +4 -4
- claude_mpm/commands/{mpm-auto-configure.md → mpm-agents-auto-configure.md} +9 -0
- claude_mpm/commands/mpm-agents-detect.md +9 -0
- claude_mpm/commands/{mpm-agents.md → mpm-agents-list.md} +9 -0
- claude_mpm/commands/mpm-agents-recommend.md +9 -0
- claude_mpm/commands/{mpm-config.md → mpm-config-view.md} +9 -0
- claude_mpm/commands/mpm-doctor.md +9 -0
- claude_mpm/commands/mpm-help.md +14 -2
- claude_mpm/commands/mpm-init.md +9 -0
- claude_mpm/commands/mpm-monitor.md +9 -0
- claude_mpm/commands/mpm-postmortem.md +123 -0
- claude_mpm/commands/{mpm-resume.md → mpm-session-resume.md} +9 -0
- claude_mpm/commands/mpm-status.md +9 -0
- claude_mpm/commands/{mpm-organize.md → mpm-ticket-organize.md} +9 -0
- claude_mpm/commands/mpm-ticket-view.md +552 -0
- claude_mpm/commands/mpm-version.md +9 -0
- claude_mpm/commands/mpm.md +10 -0
- claude_mpm/config/agent_presets.py +488 -0
- claude_mpm/config/agent_sources.py +325 -0
- claude_mpm/config/skill_presets.py +392 -0
- claude_mpm/config/skill_sources.py +590 -0
- claude_mpm/constants.py +1 -0
- claude_mpm/core/claude_runner.py +5 -34
- claude_mpm/core/config.py +16 -0
- claude_mpm/core/framework/__init__.py +3 -16
- claude_mpm/core/framework/loaders/file_loader.py +54 -101
- claude_mpm/core/framework/loaders/instruction_loader.py +25 -5
- claude_mpm/core/interactive_session.py +83 -7
- claude_mpm/core/oneshot_session.py +71 -8
- claude_mpm/core/protocols/__init__.py +23 -0
- claude_mpm/core/protocols/runner_protocol.py +103 -0
- claude_mpm/core/protocols/session_protocol.py +131 -0
- claude_mpm/core/shared/singleton_manager.py +11 -4
- claude_mpm/core/system_context.py +38 -0
- claude_mpm/core/unified_config.py +22 -0
- claude_mpm/experimental/cli_enhancements.py +1 -5
- claude_mpm/hooks/claude_hooks/__pycache__/__init__.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/event_handlers.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/hook_handler.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/memory_integration.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/response_tracking.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/__pycache__/tool_analysis.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/memory_integration.py +12 -1
- claude_mpm/hooks/claude_hooks/services/__pycache__/__init__.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/connection_manager_http.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/duplicate_detector.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/state_manager.cpython-313.pyc +0 -0
- claude_mpm/hooks/claude_hooks/services/__pycache__/subagent_processor.cpython-313.pyc +0 -0
- claude_mpm/hooks/failure_learning/__init__.py +2 -8
- claude_mpm/hooks/failure_learning/failure_detection_hook.py +1 -6
- claude_mpm/hooks/failure_learning/fix_detection_hook.py +1 -6
- claude_mpm/hooks/failure_learning/learning_extraction_hook.py +1 -6
- claude_mpm/hooks/kuzu_response_hook.py +1 -5
- claude_mpm/models/git_repository.py +198 -0
- claude_mpm/services/agents/agent_builder.py +45 -9
- claude_mpm/services/agents/agent_preset_service.py +238 -0
- claude_mpm/services/agents/agent_selection_service.py +484 -0
- claude_mpm/services/agents/auto_deploy_index_parser.py +569 -0
- claude_mpm/services/agents/cache_git_manager.py +621 -0
- claude_mpm/services/agents/deployment/agent_deployment.py +126 -2
- claude_mpm/services/agents/deployment/agent_discovery_service.py +105 -73
- claude_mpm/services/agents/deployment/agent_lifecycle_manager.py +1 -5
- claude_mpm/services/agents/deployment/agent_restore_handler.py +1 -4
- claude_mpm/services/agents/deployment/agent_template_builder.py +236 -15
- claude_mpm/services/agents/deployment/agents_directory_resolver.py +101 -15
- claude_mpm/services/agents/deployment/async_agent_deployment.py +2 -1
- claude_mpm/services/agents/deployment/multi_source_deployment_service.py +115 -15
- claude_mpm/services/agents/deployment/refactored_agent_deployment_service.py +1 -4
- claude_mpm/services/agents/deployment/remote_agent_discovery_service.py +363 -0
- claude_mpm/services/agents/deployment/single_agent_deployer.py +2 -2
- claude_mpm/services/agents/deployment/system_instructions_deployer.py +168 -46
- claude_mpm/services/agents/deployment/validation/deployment_validator.py +2 -2
- claude_mpm/services/agents/git_source_manager.py +629 -0
- claude_mpm/services/agents/loading/framework_agent_loader.py +1 -4
- claude_mpm/services/agents/local_template_manager.py +47 -9
- claude_mpm/services/agents/single_tier_deployment_service.py +696 -0
- claude_mpm/services/agents/sources/__init__.py +13 -0
- claude_mpm/services/agents/sources/agent_sync_state.py +516 -0
- claude_mpm/services/agents/sources/git_source_sync_service.py +1087 -0
- claude_mpm/services/agents/startup_sync.py +239 -0
- claude_mpm/services/agents/toolchain_detector.py +474 -0
- claude_mpm/services/analysis/__init__.py +25 -0
- claude_mpm/services/analysis/postmortem_reporter.py +474 -0
- claude_mpm/services/analysis/postmortem_service.py +765 -0
- claude_mpm/services/command_deployment_service.py +200 -6
- claude_mpm/services/core/base.py +7 -2
- claude_mpm/services/core/interfaces/__init__.py +1 -3
- claude_mpm/services/core/interfaces/health.py +1 -4
- claude_mpm/services/core/models/__init__.py +2 -11
- claude_mpm/services/diagnostics/checks/__init__.py +4 -0
- claude_mpm/services/diagnostics/checks/agent_sources_check.py +577 -0
- claude_mpm/services/diagnostics/checks/mcp_services_check.py +7 -15
- claude_mpm/services/diagnostics/checks/skill_sources_check.py +587 -0
- claude_mpm/services/diagnostics/diagnostic_runner.py +9 -0
- claude_mpm/services/diagnostics/doctor_reporter.py +34 -6
- claude_mpm/services/git/__init__.py +21 -0
- claude_mpm/services/git/git_operations_service.py +494 -0
- claude_mpm/services/github/__init__.py +21 -0
- claude_mpm/services/github/github_cli_service.py +397 -0
- claude_mpm/services/infrastructure/monitoring/__init__.py +1 -5
- claude_mpm/services/infrastructure/monitoring/aggregator.py +1 -6
- claude_mpm/services/instructions/__init__.py +9 -0
- claude_mpm/services/instructions/instruction_cache_service.py +374 -0
- claude_mpm/services/local_ops/__init__.py +3 -13
- claude_mpm/services/local_ops/health_checks/__init__.py +1 -3
- claude_mpm/services/local_ops/health_manager.py +1 -4
- claude_mpm/services/mcp_config_manager.py +75 -145
- claude_mpm/services/mcp_gateway/core/process_pool.py +22 -16
- claude_mpm/services/mcp_gateway/server/mcp_gateway.py +1 -6
- claude_mpm/services/mcp_service_verifier.py +6 -3
- claude_mpm/services/monitor/daemon.py +28 -8
- claude_mpm/services/monitor/daemon_manager.py +96 -19
- claude_mpm/services/pr/__init__.py +14 -0
- claude_mpm/services/pr/pr_template_service.py +329 -0
- claude_mpm/services/project/project_organizer.py +4 -0
- claude_mpm/services/runner_configuration_service.py +16 -3
- claude_mpm/services/session_management_service.py +16 -4
- claude_mpm/services/skills/__init__.py +18 -0
- claude_mpm/services/skills/git_skill_source_manager.py +1169 -0
- claude_mpm/services/skills/skill_discovery_service.py +568 -0
- claude_mpm/services/socketio/server/core.py +1 -4
- claude_mpm/services/socketio/server/main.py +1 -3
- claude_mpm/services/unified/deployment_strategies/vercel.py +1 -5
- claude_mpm/services/unified/unified_deployment.py +1 -5
- claude_mpm/services/visualization/__init__.py +1 -5
- claude_mpm/templates/questions/__init__.py +2 -7
- claude_mpm/templates/questions/pr_strategy.py +1 -4
- claude_mpm/templates/questions/project_init.py +1 -4
- claude_mpm/templates/questions/ticket_mgmt.py +1 -4
- claude_mpm/utils/agent_dependency_loader.py +77 -10
- claude_mpm/utils/agent_filters.py +288 -0
- claude_mpm/utils/gitignore.py +3 -0
- claude_mpm/utils/migration.py +372 -0
- claude_mpm/utils/progress.py +387 -0
- {claude_mpm-4.25.10.dist-info → claude_mpm-5.1.8.dist-info}/METADATA +356 -112
- {claude_mpm-4.25.10.dist-info → claude_mpm-5.1.8.dist-info}/RECORD +188 -439
- claude_mpm/agents/templates/agent-manager.json +0 -273
- claude_mpm/agents/templates/agentic-coder-optimizer.json +0 -248
- claude_mpm/agents/templates/api_qa.json +0 -183
- claude_mpm/agents/templates/clerk-ops.json +0 -235
- claude_mpm/agents/templates/code_analyzer.json +0 -101
- claude_mpm/agents/templates/content-agent.json +0 -358
- claude_mpm/agents/templates/dart_engineer.json +0 -307
- claude_mpm/agents/templates/data_engineer.json +0 -225
- claude_mpm/agents/templates/documentation.json +0 -238
- claude_mpm/agents/templates/engineer.json +0 -210
- claude_mpm/agents/templates/gcp_ops_agent.json +0 -253
- claude_mpm/agents/templates/golang_engineer.json +0 -270
- claude_mpm/agents/templates/imagemagick.json +0 -264
- claude_mpm/agents/templates/java_engineer.json +0 -346
- claude_mpm/agents/templates/javascript_engineer_agent.json +0 -380
- claude_mpm/agents/templates/local_ops_agent.json +0 -1840
- claude_mpm/agents/templates/memory_manager.json +0 -158
- claude_mpm/agents/templates/nextjs_engineer.json +0 -285
- claude_mpm/agents/templates/ops.json +0 -185
- claude_mpm/agents/templates/php-engineer.json +0 -287
- claude_mpm/agents/templates/product_owner.json +0 -338
- claude_mpm/agents/templates/project_organizer.json +0 -144
- claude_mpm/agents/templates/prompt-engineer.json +0 -737
- claude_mpm/agents/templates/python_engineer.json +0 -387
- claude_mpm/agents/templates/qa.json +0 -243
- claude_mpm/agents/templates/react_engineer.json +0 -239
- claude_mpm/agents/templates/refactoring_engineer.json +0 -276
- claude_mpm/agents/templates/research.json +0 -258
- claude_mpm/agents/templates/ruby-engineer.json +0 -280
- claude_mpm/agents/templates/rust_engineer.json +0 -275
- claude_mpm/agents/templates/security.json +0 -202
- claude_mpm/agents/templates/svelte-engineer.json +0 -225
- claude_mpm/agents/templates/tauri_engineer.json +0 -274
- claude_mpm/agents/templates/ticketing.json +0 -181
- claude_mpm/agents/templates/typescript_engineer.json +0 -285
- claude_mpm/agents/templates/vercel_ops_agent.json +0 -412
- claude_mpm/agents/templates/version_control.json +0 -159
- claude_mpm/agents/templates/web_qa.json +0 -400
- claude_mpm/agents/templates/web_ui.json +0 -189
- claude_mpm/cli/README.md +0 -253
- claude_mpm/cli/commands/mcp_install_commands.py.backup +0 -284
- claude_mpm/cli/commands/mpm_init/README.md +0 -365
- claude_mpm/cli_module/refactoring_guide.md +0 -253
- claude_mpm/commands/mpm-tickets.md +0 -151
- claude_mpm/config/agent_capabilities.yaml +0 -658
- claude_mpm/config/async_logging_config.yaml +0 -145
- claude_mpm/core/.claude-mpm/logs/hooks_20250730.log +0 -34
- claude_mpm/d2/.gitignore +0 -22
- claude_mpm/d2/ARCHITECTURE_COMPARISON.md +0 -273
- claude_mpm/d2/FLASK_INTEGRATION.md +0 -156
- claude_mpm/d2/IMPLEMENTATION_SUMMARY.md +0 -452
- claude_mpm/d2/QUICKSTART.md +0 -186
- claude_mpm/d2/README.md +0 -232
- claude_mpm/d2/STORE_FIX_SUMMARY.md +0 -167
- claude_mpm/d2/SVELTE5_STORES_GUIDE.md +0 -180
- claude_mpm/d2/TESTING.md +0 -288
- claude_mpm/d2/index.html +0 -118
- claude_mpm/d2/package.json +0 -19
- claude_mpm/d2/src/App.svelte +0 -110
- claude_mpm/d2/src/components/Header.svelte +0 -153
- claude_mpm/d2/src/components/MainContent.svelte +0 -74
- claude_mpm/d2/src/components/Sidebar.svelte +0 -85
- claude_mpm/d2/src/components/tabs/EventsTab.svelte +0 -326
- claude_mpm/d2/src/lib/socketio.js +0 -144
- claude_mpm/d2/src/main.js +0 -7
- claude_mpm/d2/src/stores/events.js +0 -114
- claude_mpm/d2/src/stores/socket.js +0 -108
- claude_mpm/d2/src/stores/theme.js +0 -65
- claude_mpm/d2/svelte.config.js +0 -12
- claude_mpm/d2/vite.config.js +0 -15
- claude_mpm/dashboard/.claude-mpm/memories/README.md +0 -36
- claude_mpm/dashboard/BUILD_NUMBER +0 -1
- claude_mpm/dashboard/README.md +0 -121
- claude_mpm/dashboard/VERSION +0 -1
- claude_mpm/dashboard/react/components/DataInspector/DataInspector.module.css +0 -188
- claude_mpm/dashboard/react/components/DataInspector/DataInspector.tsx +0 -273
- claude_mpm/dashboard/react/components/ErrorBoundary.tsx +0 -75
- claude_mpm/dashboard/react/components/EventViewer/EventViewer.module.css +0 -156
- claude_mpm/dashboard/react/components/EventViewer/EventViewer.tsx +0 -141
- claude_mpm/dashboard/react/components/shared/ConnectionStatus.module.css +0 -38
- claude_mpm/dashboard/react/components/shared/ConnectionStatus.tsx +0 -36
- claude_mpm/dashboard/react/components/shared/FilterBar.module.css +0 -92
- claude_mpm/dashboard/react/components/shared/FilterBar.tsx +0 -89
- claude_mpm/dashboard/react/contexts/DashboardContext.tsx +0 -215
- claude_mpm/dashboard/react/entries/events.tsx +0 -165
- claude_mpm/dashboard/react/hooks/useEvents.ts +0 -191
- claude_mpm/dashboard/react/hooks/useSocket.ts +0 -225
- claude_mpm/dashboard/static/archive/activity_dashboard_fixed.html +0 -248
- claude_mpm/dashboard/static/built/REFACTORING_SUMMARY.md +0 -170
- claude_mpm/dashboard/static/built/assets/events.DjpNxWNo.css +0 -1
- claude_mpm/dashboard/static/built/components/activity-tree.js +0 -2
- claude_mpm/dashboard/static/built/components/activity-tree.js.map +0 -1
- claude_mpm/dashboard/static/built/components/agent-hierarchy.js +0 -777
- claude_mpm/dashboard/static/built/components/agent-inference.js +0 -2
- claude_mpm/dashboard/static/built/components/agent-inference.js.map +0 -1
- claude_mpm/dashboard/static/built/components/build-tracker.js +0 -333
- claude_mpm/dashboard/static/built/components/code-simple.js +0 -857
- claude_mpm/dashboard/static/built/components/code-tree/tree-breadcrumb.js +0 -353
- claude_mpm/dashboard/static/built/components/code-tree/tree-constants.js +0 -235
- claude_mpm/dashboard/static/built/components/code-tree/tree-search.js +0 -409
- claude_mpm/dashboard/static/built/components/code-tree/tree-utils.js +0 -435
- claude_mpm/dashboard/static/built/components/code-tree.js +0 -2
- claude_mpm/dashboard/static/built/components/code-tree.js.map +0 -1
- claude_mpm/dashboard/static/built/components/code-viewer.js +0 -2
- claude_mpm/dashboard/static/built/components/code-viewer.js.map +0 -1
- claude_mpm/dashboard/static/built/components/connection-debug.js +0 -654
- claude_mpm/dashboard/static/built/components/diff-viewer.js +0 -891
- claude_mpm/dashboard/static/built/components/event-processor.js +0 -2
- claude_mpm/dashboard/static/built/components/event-processor.js.map +0 -1
- claude_mpm/dashboard/static/built/components/event-viewer.js +0 -2
- claude_mpm/dashboard/static/built/components/event-viewer.js.map +0 -1
- claude_mpm/dashboard/static/built/components/export-manager.js +0 -2
- claude_mpm/dashboard/static/built/components/export-manager.js.map +0 -1
- claude_mpm/dashboard/static/built/components/file-change-tracker.js +0 -443
- claude_mpm/dashboard/static/built/components/file-change-viewer.js +0 -690
- claude_mpm/dashboard/static/built/components/file-tool-tracker.js +0 -2
- claude_mpm/dashboard/static/built/components/file-tool-tracker.js.map +0 -1
- claude_mpm/dashboard/static/built/components/file-viewer.js +0 -2
- claude_mpm/dashboard/static/built/components/file-viewer.js.map +0 -1
- claude_mpm/dashboard/static/built/components/hud-library-loader.js +0 -2
- claude_mpm/dashboard/static/built/components/hud-library-loader.js.map +0 -1
- claude_mpm/dashboard/static/built/components/hud-manager.js +0 -2
- claude_mpm/dashboard/static/built/components/hud-manager.js.map +0 -1
- claude_mpm/dashboard/static/built/components/hud-visualizer.js +0 -2
- claude_mpm/dashboard/static/built/components/hud-visualizer.js.map +0 -1
- claude_mpm/dashboard/static/built/components/module-viewer.js +0 -2
- claude_mpm/dashboard/static/built/components/module-viewer.js.map +0 -1
- claude_mpm/dashboard/static/built/components/nav-bar.js +0 -145
- claude_mpm/dashboard/static/built/components/page-structure.js +0 -429
- claude_mpm/dashboard/static/built/components/session-manager.js +0 -2
- claude_mpm/dashboard/static/built/components/session-manager.js.map +0 -1
- claude_mpm/dashboard/static/built/components/socket-manager.js +0 -2
- claude_mpm/dashboard/static/built/components/socket-manager.js.map +0 -1
- claude_mpm/dashboard/static/built/components/ui-state-manager.js +0 -2
- claude_mpm/dashboard/static/built/components/ui-state-manager.js.map +0 -1
- claude_mpm/dashboard/static/built/components/unified-data-viewer.js +0 -2
- claude_mpm/dashboard/static/built/components/unified-data-viewer.js.map +0 -1
- claude_mpm/dashboard/static/built/components/working-directory.js +0 -2
- claude_mpm/dashboard/static/built/components/working-directory.js.map +0 -1
- claude_mpm/dashboard/static/built/connection-manager.js +0 -536
- claude_mpm/dashboard/static/built/dashboard.js +0 -2
- claude_mpm/dashboard/static/built/dashboard.js.map +0 -1
- claude_mpm/dashboard/static/built/extension-error-handler.js +0 -164
- claude_mpm/dashboard/static/built/react/events.js +0 -30
- claude_mpm/dashboard/static/built/react/events.js.map +0 -1
- claude_mpm/dashboard/static/built/shared/dom-helpers.js +0 -396
- claude_mpm/dashboard/static/built/shared/event-bus.js +0 -330
- claude_mpm/dashboard/static/built/shared/event-filter-service.js +0 -540
- claude_mpm/dashboard/static/built/shared/logger.js +0 -385
- claude_mpm/dashboard/static/built/shared/page-structure.js +0 -249
- claude_mpm/dashboard/static/built/shared/tooltip-service.js +0 -253
- claude_mpm/dashboard/static/built/socket-client.js +0 -2
- claude_mpm/dashboard/static/built/socket-client.js.map +0 -1
- claude_mpm/dashboard/static/built/tab-isolation-fix.js +0 -185
- claude_mpm/dashboard/static/events.html +0 -607
- claude_mpm/dashboard/static/index.html +0 -635
- claude_mpm/dashboard/static/js/REFACTORING_SUMMARY.md +0 -170
- claude_mpm/dashboard/static/js/shared/dom-helpers.js +0 -396
- claude_mpm/dashboard/static/js/shared/event-bus.js +0 -330
- claude_mpm/dashboard/static/js/shared/logger.js +0 -385
- claude_mpm/dashboard/static/js/shared/tooltip-service.js +0 -253
- claude_mpm/dashboard/static/js/stores/dashboard-store.js +0 -562
- claude_mpm/dashboard/static/legacy/activity.html +0 -736
- claude_mpm/dashboard/static/legacy/agents.html +0 -786
- claude_mpm/dashboard/static/legacy/files.html +0 -747
- claude_mpm/dashboard/static/legacy/tools.html +0 -831
- claude_mpm/dashboard/static/monitors.html +0 -431
- claude_mpm/dashboard/static/navigation-test-results.md +0 -118
- claude_mpm/dashboard/static/production/events.html +0 -659
- claude_mpm/dashboard/static/production/main.html +0 -698
- claude_mpm/dashboard/static/production/monitors.html +0 -483
- claude_mpm/dashboard/static/test-archive/dashboard.html +0 -635
- claude_mpm/dashboard/static/test-archive/debug-events.html +0 -147
- claude_mpm/dashboard/static/test-archive/test-navigation.html +0 -256
- claude_mpm/dashboard/static/test-archive/test-react-exports.html +0 -180
- 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 -143
- claude_mpm/hooks/templates/README.md +0 -180
- claude_mpm/hooks/templates/settings.json.example +0 -147
- claude_mpm/schemas/agent_schema.json +0 -596
- claude_mpm/schemas/frontmatter_schema.json +0 -165
- claude_mpm/services/event_bus/README.md +0 -244
- claude_mpm/services/events/README.md +0 -303
- claude_mpm/services/framework_claude_md_generator/README.md +0 -119
- claude_mpm/services/mcp_gateway/README.md +0 -185
- claude_mpm/services/socketio/handlers/connection.py.backup +0 -217
- claude_mpm/services/socketio/handlers/hook.py.backup +0 -154
- claude_mpm/services/static/.gitkeep +0 -2
- claude_mpm/services/version_control/VERSION +0 -1
- claude_mpm/skills/bundled/.gitkeep +0 -2
- claude_mpm/skills/bundled/collaboration/brainstorming/SKILL.md +0 -79
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/SKILL.md +0 -178
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/agent-prompts.md +0 -577
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/coordination-patterns.md +0 -467
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/examples.md +0 -537
- claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/references/troubleshooting.md +0 -730
- claude_mpm/skills/bundled/collaboration/git-worktrees.md +0 -317
- claude_mpm/skills/bundled/collaboration/requesting-code-review/SKILL.md +0 -112
- claude_mpm/skills/bundled/collaboration/requesting-code-review/references/code-reviewer-template.md +0 -146
- claude_mpm/skills/bundled/collaboration/requesting-code-review/references/review-examples.md +0 -412
- claude_mpm/skills/bundled/collaboration/stacked-prs.md +0 -251
- claude_mpm/skills/bundled/collaboration/writing-plans/SKILL.md +0 -81
- claude_mpm/skills/bundled/collaboration/writing-plans/references/best-practices.md +0 -362
- claude_mpm/skills/bundled/collaboration/writing-plans/references/plan-structure-templates.md +0 -312
- claude_mpm/skills/bundled/debugging/root-cause-tracing/SKILL.md +0 -152
- claude_mpm/skills/bundled/debugging/root-cause-tracing/find-polluter.sh +0 -63
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/advanced-techniques.md +0 -668
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/examples.md +0 -587
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/integration.md +0 -438
- claude_mpm/skills/bundled/debugging/root-cause-tracing/references/tracing-techniques.md +0 -391
- claude_mpm/skills/bundled/debugging/systematic-debugging/CREATION-LOG.md +0 -119
- claude_mpm/skills/bundled/debugging/systematic-debugging/SKILL.md +0 -148
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/anti-patterns.md +0 -483
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/examples.md +0 -452
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/troubleshooting.md +0 -449
- claude_mpm/skills/bundled/debugging/systematic-debugging/references/workflow.md +0 -411
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-academic.md +0 -14
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-1.md +0 -58
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-2.md +0 -68
- claude_mpm/skills/bundled/debugging/systematic-debugging/test-pressure-3.md +0 -69
- claude_mpm/skills/bundled/debugging/verification-before-completion/SKILL.md +0 -131
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/gate-function.md +0 -325
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/integration-and-workflows.md +0 -490
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/red-flags-and-failures.md +0 -425
- claude_mpm/skills/bundled/debugging/verification-before-completion/references/verification-patterns.md +0 -499
- claude_mpm/skills/bundled/infrastructure/env-manager/INTEGRATION.md +0 -611
- claude_mpm/skills/bundled/infrastructure/env-manager/README.md +0 -596
- claude_mpm/skills/bundled/infrastructure/env-manager/SKILL.md +0 -260
- claude_mpm/skills/bundled/infrastructure/env-manager/examples/nextjs-env-structure.md +0 -315
- claude_mpm/skills/bundled/infrastructure/env-manager/references/frameworks.md +0 -436
- claude_mpm/skills/bundled/infrastructure/env-manager/references/security.md +0 -433
- claude_mpm/skills/bundled/infrastructure/env-manager/references/synchronization.md +0 -452
- claude_mpm/skills/bundled/infrastructure/env-manager/references/troubleshooting.md +0 -404
- claude_mpm/skills/bundled/infrastructure/env-manager/references/validation.md +0 -420
- claude_mpm/skills/bundled/main/artifacts-builder/LICENSE.txt +0 -202
- claude_mpm/skills/bundled/main/artifacts-builder/SKILL.md +0 -86
- claude_mpm/skills/bundled/main/artifacts-builder/scripts/bundle-artifact.sh +0 -54
- claude_mpm/skills/bundled/main/artifacts-builder/scripts/init-artifact.sh +0 -322
- claude_mpm/skills/bundled/main/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- claude_mpm/skills/bundled/main/internal-comms/LICENSE.txt +0 -202
- claude_mpm/skills/bundled/main/internal-comms/SKILL.md +0 -43
- claude_mpm/skills/bundled/main/internal-comms/examples/3p-updates.md +0 -47
- claude_mpm/skills/bundled/main/internal-comms/examples/company-newsletter.md +0 -65
- claude_mpm/skills/bundled/main/internal-comms/examples/faq-answers.md +0 -30
- claude_mpm/skills/bundled/main/internal-comms/examples/general-comms.md +0 -16
- claude_mpm/skills/bundled/main/mcp-builder/LICENSE.txt +0 -202
- claude_mpm/skills/bundled/main/mcp-builder/SKILL.md +0 -160
- claude_mpm/skills/bundled/main/mcp-builder/reference/design_principles.md +0 -412
- claude_mpm/skills/bundled/main/mcp-builder/reference/evaluation.md +0 -602
- claude_mpm/skills/bundled/main/mcp-builder/reference/mcp_best_practices.md +0 -915
- claude_mpm/skills/bundled/main/mcp-builder/reference/node_mcp_server.md +0 -916
- claude_mpm/skills/bundled/main/mcp-builder/reference/python_mcp_server.md +0 -752
- claude_mpm/skills/bundled/main/mcp-builder/reference/workflow.md +0 -1237
- claude_mpm/skills/bundled/main/mcp-builder/scripts/example_evaluation.xml +0 -22
- claude_mpm/skills/bundled/main/mcp-builder/scripts/requirements.txt +0 -2
- claude_mpm/skills/bundled/main/skill-creator/LICENSE.txt +0 -202
- claude_mpm/skills/bundled/main/skill-creator/SKILL.md +0 -189
- claude_mpm/skills/bundled/main/skill-creator/references/best-practices.md +0 -500
- claude_mpm/skills/bundled/main/skill-creator/references/creation-workflow.md +0 -464
- claude_mpm/skills/bundled/main/skill-creator/references/examples.md +0 -619
- claude_mpm/skills/bundled/main/skill-creator/references/progressive-disclosure.md +0 -437
- claude_mpm/skills/bundled/main/skill-creator/references/skill-structure.md +0 -231
- claude_mpm/skills/bundled/php/espocrm-development/SKILL.md +0 -170
- claude_mpm/skills/bundled/php/espocrm-development/references/architecture.md +0 -602
- claude_mpm/skills/bundled/php/espocrm-development/references/common-tasks.md +0 -821
- claude_mpm/skills/bundled/php/espocrm-development/references/development-workflow.md +0 -742
- claude_mpm/skills/bundled/php/espocrm-development/references/frontend-customization.md +0 -726
- claude_mpm/skills/bundled/php/espocrm-development/references/hooks-and-services.md +0 -764
- claude_mpm/skills/bundled/php/espocrm-development/references/testing-debugging.md +0 -831
- claude_mpm/skills/bundled/react/flexlayout-react.md +0 -742
- claude_mpm/skills/bundled/rust/desktop-applications/SKILL.md +0 -226
- claude_mpm/skills/bundled/rust/desktop-applications/references/architecture-patterns.md +0 -901
- claude_mpm/skills/bundled/rust/desktop-applications/references/native-gui-frameworks.md +0 -901
- claude_mpm/skills/bundled/rust/desktop-applications/references/platform-integration.md +0 -775
- claude_mpm/skills/bundled/rust/desktop-applications/references/state-management.md +0 -937
- claude_mpm/skills/bundled/rust/desktop-applications/references/tauri-framework.md +0 -770
- claude_mpm/skills/bundled/rust/desktop-applications/references/testing-deployment.md +0 -961
- claude_mpm/skills/bundled/tauri/tauri-async-patterns.md +0 -495
- claude_mpm/skills/bundled/tauri/tauri-build-deploy.md +0 -599
- claude_mpm/skills/bundled/tauri/tauri-command-patterns.md +0 -535
- claude_mpm/skills/bundled/tauri/tauri-error-handling.md +0 -613
- claude_mpm/skills/bundled/tauri/tauri-event-system.md +0 -648
- claude_mpm/skills/bundled/tauri/tauri-file-system.md +0 -673
- claude_mpm/skills/bundled/tauri/tauri-frontend-integration.md +0 -767
- claude_mpm/skills/bundled/tauri/tauri-performance.md +0 -669
- claude_mpm/skills/bundled/tauri/tauri-state-management.md +0 -573
- claude_mpm/skills/bundled/tauri/tauri-testing.md +0 -384
- claude_mpm/skills/bundled/tauri/tauri-window-management.md +0 -628
- claude_mpm/skills/bundled/testing/condition-based-waiting/SKILL.md +0 -119
- claude_mpm/skills/bundled/testing/condition-based-waiting/example.ts +0 -158
- claude_mpm/skills/bundled/testing/condition-based-waiting/references/patterns-and-implementation.md +0 -253
- claude_mpm/skills/bundled/testing/test-driven-development/SKILL.md +0 -145
- claude_mpm/skills/bundled/testing/test-driven-development/references/anti-patterns.md +0 -543
- claude_mpm/skills/bundled/testing/test-driven-development/references/examples.md +0 -741
- claude_mpm/skills/bundled/testing/test-driven-development/references/integration.md +0 -470
- claude_mpm/skills/bundled/testing/test-driven-development/references/philosophy.md +0 -458
- claude_mpm/skills/bundled/testing/test-driven-development/references/workflow.md +0 -639
- claude_mpm/skills/bundled/testing/test-quality-inspector/SKILL.md +0 -458
- claude_mpm/skills/bundled/testing/test-quality-inspector/examples/example-inspection-report.md +0 -411
- claude_mpm/skills/bundled/testing/test-quality-inspector/references/assertion-quality.md +0 -317
- claude_mpm/skills/bundled/testing/test-quality-inspector/references/inspection-checklist.md +0 -270
- claude_mpm/skills/bundled/testing/test-quality-inspector/references/red-flags.md +0 -436
- claude_mpm/skills/bundled/testing/testing-anti-patterns/SKILL.md +0 -140
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/completeness-anti-patterns.md +0 -572
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/core-anti-patterns.md +0 -411
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/detection-guide.md +0 -569
- claude_mpm/skills/bundled/testing/testing-anti-patterns/references/tdd-connection.md +0 -695
- claude_mpm/skills/bundled/testing/webapp-testing/LICENSE.txt +0 -202
- claude_mpm/skills/bundled/testing/webapp-testing/SKILL.md +0 -184
- claude_mpm/skills/bundled/testing/webapp-testing/decision-tree.md +0 -459
- claude_mpm/skills/bundled/testing/webapp-testing/playwright-patterns.md +0 -479
- claude_mpm/skills/bundled/testing/webapp-testing/reconnaissance-pattern.md +0 -687
- claude_mpm/skills/bundled/testing/webapp-testing/server-management.md +0 -758
- claude_mpm/skills/bundled/testing/webapp-testing/troubleshooting.md +0 -868
- claude_mpm/templates/questions/EXAMPLES.md +0 -501
- claude_mpm/tools/README_SOCKETIO_DEBUG.md +0 -224
- claude_mpm/tools/code_tree_analyzer/README.md +0 -64
- /claude_mpm/agents/templates/{git_file_tracking.md → git-file-tracking.md} +0 -0
- /claude_mpm/agents/templates/{pm_examples.md → pm-examples.md} +0 -0
- /claude_mpm/agents/templates/{pm_red_flags.md → pm-red-flags.md} +0 -0
- /claude_mpm/agents/templates/{response_format.md → response-format.md} +0 -0
- /claude_mpm/agents/templates/{validation_templates.md → validation-templates.md} +0 -0
- {claude_mpm-4.25.10.dist-info → claude_mpm-5.1.8.dist-info}/WHEEL +0 -0
- {claude_mpm-4.25.10.dist-info → claude_mpm-5.1.8.dist-info}/entry_points.txt +0 -0
- {claude_mpm-4.25.10.dist-info → claude_mpm-5.1.8.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-4.25.10.dist-info → claude_mpm-5.1.8.dist-info}/top_level.txt +0 -0
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Events Store (Traditional Svelte Stores)
|
|
3
|
-
*
|
|
4
|
-
* Manages incoming Claude Code hook events with:
|
|
5
|
-
* - Event buffering (last 1000 events)
|
|
6
|
-
* - Automatic filtering capability
|
|
7
|
-
* - Event statistics
|
|
8
|
-
*
|
|
9
|
-
* IMPORTANT: This file uses traditional stores instead of Svelte 5 runes
|
|
10
|
-
* because the store is created at module-load time, outside component context.
|
|
11
|
-
* Runes ($state, $derived) can only be used inside components.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
import { writable, derived } from 'svelte/store';
|
|
15
|
-
|
|
16
|
-
const MAX_EVENTS = 1000;
|
|
17
|
-
|
|
18
|
-
function createEventsStore() {
|
|
19
|
-
// Use writable stores instead of $state
|
|
20
|
-
const events = writable([]);
|
|
21
|
-
const totalReceived = writable(0);
|
|
22
|
-
|
|
23
|
-
// Use derived stores instead of $derived
|
|
24
|
-
const count = derived(events, ($events) => $events.length);
|
|
25
|
-
const isEmpty = derived(events, ($events) => $events.length === 0);
|
|
26
|
-
|
|
27
|
-
// Event type counts
|
|
28
|
-
const eventTypeCounts = derived(events, ($events) => {
|
|
29
|
-
const counts = {};
|
|
30
|
-
for (const event of $events) {
|
|
31
|
-
const type = event.type || 'unknown';
|
|
32
|
-
counts[type] = (counts[type] || 0) + 1;
|
|
33
|
-
}
|
|
34
|
-
return counts;
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
function addEvent(event) {
|
|
38
|
-
events.update(($events) => {
|
|
39
|
-
// Add timestamp if not present
|
|
40
|
-
if (!event.timestamp) {
|
|
41
|
-
event.timestamp = new Date().toISOString();
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// Add internal ID for React key stability
|
|
45
|
-
let currentTotal;
|
|
46
|
-
totalReceived.subscribe((val) => { currentTotal = val; })();
|
|
47
|
-
event._id = `${event.timestamp}-${currentTotal}`;
|
|
48
|
-
|
|
49
|
-
// Add to beginning of array (newest first)
|
|
50
|
-
const newEvents = [event, ...$events];
|
|
51
|
-
|
|
52
|
-
// Trim to max size
|
|
53
|
-
return newEvents.length > MAX_EVENTS
|
|
54
|
-
? newEvents.slice(0, MAX_EVENTS)
|
|
55
|
-
: newEvents;
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
// Increment total
|
|
59
|
-
totalReceived.update((n) => n + 1);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
function addEvents(newEvents) {
|
|
63
|
-
for (const event of newEvents) {
|
|
64
|
-
addEvent(event);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
function clear() {
|
|
69
|
-
events.set([]);
|
|
70
|
-
totalReceived.set(0);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
function filterByType(type) {
|
|
74
|
-
let result;
|
|
75
|
-
events.subscribe(($events) => {
|
|
76
|
-
result = $events.filter((e) => e.type === type);
|
|
77
|
-
})();
|
|
78
|
-
return result;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function filterBySource(source) {
|
|
82
|
-
let result;
|
|
83
|
-
events.subscribe(($events) => {
|
|
84
|
-
result = $events.filter((e) => e.source === source);
|
|
85
|
-
})();
|
|
86
|
-
return result;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
function filterBySubtype(subtype) {
|
|
90
|
-
let result;
|
|
91
|
-
events.subscribe(($events) => {
|
|
92
|
-
result = $events.filter((e) => e.subtype === subtype);
|
|
93
|
-
})();
|
|
94
|
-
return result;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
return {
|
|
98
|
-
// Export stores with subscribe method for Svelte auto-subscription
|
|
99
|
-
events: { subscribe: events.subscribe },
|
|
100
|
-
count: { subscribe: count.subscribe },
|
|
101
|
-
isEmpty: { subscribe: isEmpty.subscribe },
|
|
102
|
-
totalReceived: { subscribe: totalReceived.subscribe },
|
|
103
|
-
eventTypeCounts: { subscribe: eventTypeCounts.subscribe },
|
|
104
|
-
// Export methods
|
|
105
|
-
addEvent,
|
|
106
|
-
addEvents,
|
|
107
|
-
clear,
|
|
108
|
-
filterByType,
|
|
109
|
-
filterBySource,
|
|
110
|
-
filterBySubtype
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export const eventsStore = createEventsStore();
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Socket.IO Store (Traditional Svelte Stores)
|
|
3
|
-
*
|
|
4
|
-
* Manages Socket.IO connection state using traditional Svelte stores.
|
|
5
|
-
* Uses writable and derived stores for module-level reactivity.
|
|
6
|
-
*
|
|
7
|
-
* IMPORTANT: This file uses traditional stores instead of Svelte 5 runes
|
|
8
|
-
* because the store is created at module-load time, outside component context.
|
|
9
|
-
* Runes ($state, $derived) can only be used inside components.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { writable, derived } from 'svelte/store';
|
|
13
|
-
import { getSocketClient } from '../lib/socketio.js';
|
|
14
|
-
|
|
15
|
-
// Default configuration (fallbacks if not running in browser)
|
|
16
|
-
const DEFAULT_PORT = 8765;
|
|
17
|
-
const DEFAULT_HOST = 'localhost';
|
|
18
|
-
|
|
19
|
-
// Auto-detect from current page URL (browser environment)
|
|
20
|
-
function getAutoDetectedPort() {
|
|
21
|
-
if (typeof window !== 'undefined' && window.location.port) {
|
|
22
|
-
return parseInt(window.location.port, 10);
|
|
23
|
-
}
|
|
24
|
-
return DEFAULT_PORT;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function getAutoDetectedHost() {
|
|
28
|
-
if (typeof window !== 'undefined' && window.location.hostname) {
|
|
29
|
-
return window.location.hostname;
|
|
30
|
-
}
|
|
31
|
-
return DEFAULT_HOST;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function createSocketStore() {
|
|
35
|
-
// Use writable stores instead of $state
|
|
36
|
-
const connected = writable(false);
|
|
37
|
-
const reconnecting = writable(false);
|
|
38
|
-
const port = writable(getAutoDetectedPort());
|
|
39
|
-
const host = writable(getAutoDetectedHost());
|
|
40
|
-
|
|
41
|
-
let client = null;
|
|
42
|
-
|
|
43
|
-
// Use derived stores instead of $derived
|
|
44
|
-
const statusText = derived(
|
|
45
|
-
[connected, reconnecting],
|
|
46
|
-
([$connected, $reconnecting]) =>
|
|
47
|
-
$connected ? 'Connected' : $reconnecting ? 'Reconnecting...' : 'Disconnected'
|
|
48
|
-
);
|
|
49
|
-
|
|
50
|
-
const statusColor = derived(
|
|
51
|
-
[connected, reconnecting],
|
|
52
|
-
([$connected, $reconnecting]) =>
|
|
53
|
-
$connected ? '#22c55e' : $reconnecting ? '#eab308' : '#ef4444'
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
const url = derived(
|
|
57
|
-
[host, port],
|
|
58
|
-
([$host, $port]) => `http://${$host}:${$port}`
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
function connect(customHost = null, customPort = null) {
|
|
62
|
-
// Use auto-detected values if no custom values provided
|
|
63
|
-
const finalHost = customHost || getAutoDetectedHost();
|
|
64
|
-
const finalPort = customPort || getAutoDetectedPort();
|
|
65
|
-
|
|
66
|
-
host.set(finalHost);
|
|
67
|
-
port.set(finalPort);
|
|
68
|
-
|
|
69
|
-
client = getSocketClient(`http://${finalHost}:${finalPort}`);
|
|
70
|
-
|
|
71
|
-
// Listen for connection status changes
|
|
72
|
-
client.on('connection_status', (status) => {
|
|
73
|
-
connected.set(status.connected);
|
|
74
|
-
reconnecting.set(status.reconnecting);
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
client.connect();
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
function disconnect() {
|
|
81
|
-
if (client) {
|
|
82
|
-
client.disconnect();
|
|
83
|
-
connected.set(false);
|
|
84
|
-
reconnecting.set(false);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
function getClient() {
|
|
89
|
-
return client;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
return {
|
|
93
|
-
// Export stores with subscribe method for Svelte auto-subscription
|
|
94
|
-
connected: { subscribe: connected.subscribe },
|
|
95
|
-
reconnecting: { subscribe: reconnecting.subscribe },
|
|
96
|
-
port: { subscribe: port.subscribe },
|
|
97
|
-
host: { subscribe: host.subscribe },
|
|
98
|
-
statusText: { subscribe: statusText.subscribe },
|
|
99
|
-
statusColor: { subscribe: statusColor.subscribe },
|
|
100
|
-
url: { subscribe: url.subscribe },
|
|
101
|
-
// Export methods
|
|
102
|
-
connect,
|
|
103
|
-
disconnect,
|
|
104
|
-
getClient
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export const socketStore = createSocketStore();
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme Store (Traditional Svelte Stores)
|
|
3
|
-
*
|
|
4
|
-
* Manages light/dark theme state with localStorage persistence.
|
|
5
|
-
* Uses traditional Svelte stores for module-level reactivity.
|
|
6
|
-
*
|
|
7
|
-
* IMPORTANT: This file uses traditional stores instead of Svelte 5 runes
|
|
8
|
-
* because the store is created at module-load time, outside component context.
|
|
9
|
-
* Runes ($state, $derived) can only be used inside components.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
import { writable } from 'svelte/store';
|
|
13
|
-
|
|
14
|
-
// Get stored theme or default to light
|
|
15
|
-
function getStoredTheme() {
|
|
16
|
-
if (typeof window === 'undefined') {
|
|
17
|
-
return 'light';
|
|
18
|
-
}
|
|
19
|
-
return localStorage.getItem('theme') || 'light';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function createThemeStore() {
|
|
23
|
-
const { subscribe, set, update } = writable(getStoredTheme());
|
|
24
|
-
|
|
25
|
-
return {
|
|
26
|
-
subscribe,
|
|
27
|
-
toggle: () => {
|
|
28
|
-
update(current => {
|
|
29
|
-
const newTheme = current === 'light' ? 'dark' : 'light';
|
|
30
|
-
|
|
31
|
-
// Persist to localStorage
|
|
32
|
-
if (typeof window !== 'undefined') {
|
|
33
|
-
localStorage.setItem('theme', newTheme);
|
|
34
|
-
document.documentElement.setAttribute('data-theme', newTheme);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
return newTheme;
|
|
38
|
-
});
|
|
39
|
-
},
|
|
40
|
-
set: (value) => {
|
|
41
|
-
// Validate theme value
|
|
42
|
-
if (value !== 'light' && value !== 'dark') {
|
|
43
|
-
console.error(`Invalid theme value: ${value}. Using 'light' instead.`);
|
|
44
|
-
value = 'light';
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Persist to localStorage
|
|
48
|
-
if (typeof window !== 'undefined') {
|
|
49
|
-
localStorage.setItem('theme', value);
|
|
50
|
-
document.documentElement.setAttribute('data-theme', value);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
set(value);
|
|
54
|
-
},
|
|
55
|
-
initialize: () => {
|
|
56
|
-
// Set initial theme on document
|
|
57
|
-
if (typeof window !== 'undefined') {
|
|
58
|
-
const theme = getStoredTheme();
|
|
59
|
-
document.documentElement.setAttribute('data-theme', theme);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export const themeStore = createThemeStore();
|
claude_mpm/d2/svelte.config.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
|
|
5
|
-
// for more information about preprocessors
|
|
6
|
-
preprocess: vitePreprocess(),
|
|
7
|
-
|
|
8
|
-
compilerOptions: {
|
|
9
|
-
// Enable run-time checks for development
|
|
10
|
-
dev: process.env.NODE_ENV !== 'production'
|
|
11
|
-
}
|
|
12
|
-
}
|
claude_mpm/d2/vite.config.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
plugins: [svelte()],
|
|
6
|
-
build: {
|
|
7
|
-
outDir: 'dist',
|
|
8
|
-
emptyOutDir: true
|
|
9
|
-
},
|
|
10
|
-
server: {
|
|
11
|
-
port: 5173,
|
|
12
|
-
strictPort: false
|
|
13
|
-
},
|
|
14
|
-
base: '/d2/'
|
|
15
|
-
})
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Agent Memory System
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Each agent maintains project-specific knowledge in these files. Agents read their memory file before tasks and update it when they learn something new.
|
|
5
|
-
|
|
6
|
-
## Manual Editing
|
|
7
|
-
Feel free to edit these files to:
|
|
8
|
-
- Add project-specific guidelines
|
|
9
|
-
- Remove outdated information
|
|
10
|
-
- Reorganize for better clarity
|
|
11
|
-
- Add domain-specific knowledge
|
|
12
|
-
|
|
13
|
-
## Memory Limits
|
|
14
|
-
- Max file size: 8KB (~2000 tokens)
|
|
15
|
-
- Max sections: 10
|
|
16
|
-
- Max items per section: 15
|
|
17
|
-
- Files auto-truncate when limits exceeded
|
|
18
|
-
|
|
19
|
-
## File Format
|
|
20
|
-
Standard markdown with structured sections. Agents expect:
|
|
21
|
-
- Project Architecture
|
|
22
|
-
- Implementation Guidelines
|
|
23
|
-
- Common Mistakes to Avoid
|
|
24
|
-
- Current Technical Context
|
|
25
|
-
|
|
26
|
-
## How It Works
|
|
27
|
-
1. Agents read their memory file before starting tasks
|
|
28
|
-
2. Agents add learnings during or after task completion
|
|
29
|
-
3. Files automatically enforce size limits
|
|
30
|
-
4. Developers can manually edit for accuracy
|
|
31
|
-
|
|
32
|
-
## Memory File Lifecycle
|
|
33
|
-
- Created automatically when agent first runs
|
|
34
|
-
- Updated through hook system after delegations
|
|
35
|
-
- Manually editable by developers
|
|
36
|
-
- Version controlled with project
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2
|
claude_mpm/dashboard/README.md
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# Claude MPM Web Dashboard
|
|
2
|
-
|
|
3
|
-
This directory contains the modular web dashboard for Claude MPM monitoring and management.
|
|
4
|
-
|
|
5
|
-
## Structure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
src/claude_mpm/dashboard/
|
|
9
|
-
├── static/
|
|
10
|
-
│ ├── css/
|
|
11
|
-
│ │ └── dashboard.css # Main stylesheet
|
|
12
|
-
│ └── js/
|
|
13
|
-
│ ├── socket-client.js # Socket.IO connection management
|
|
14
|
-
│ ├── dashboard.js # Main dashboard application
|
|
15
|
-
│ └── components/
|
|
16
|
-
│ ├── event-viewer.js # Event display and filtering
|
|
17
|
-
│ ├── module-viewer.js # Event detail viewer
|
|
18
|
-
│ └── session-manager.js # Session management
|
|
19
|
-
├── templates/
|
|
20
|
-
│ └── index.html # Main dashboard HTML
|
|
21
|
-
├── index.html # Root index with redirect
|
|
22
|
-
├── test_dashboard.html # Test version for verification
|
|
23
|
-
└── README.md # This file
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Components
|
|
27
|
-
|
|
28
|
-
### SocketClient (`socket-client.js`)
|
|
29
|
-
- Manages WebSocket connections to the Claude MPM server
|
|
30
|
-
- Handles event reception and processing
|
|
31
|
-
- Provides callbacks for connection state changes
|
|
32
|
-
- Maintains event history and session tracking
|
|
33
|
-
|
|
34
|
-
### EventViewer (`components/event-viewer.js`)
|
|
35
|
-
- Displays events in a filterable list
|
|
36
|
-
- Supports search, type filtering, and session filtering
|
|
37
|
-
- Handles event selection and keyboard navigation
|
|
38
|
-
- Updates metrics display (total events, events per minute, etc.)
|
|
39
|
-
|
|
40
|
-
### ModuleViewer (`components/module-viewer.js`)
|
|
41
|
-
- Shows detailed information about selected events
|
|
42
|
-
- Provides structured views for different event types
|
|
43
|
-
- Displays raw JSON data for debugging
|
|
44
|
-
- Organizes events by class/category
|
|
45
|
-
|
|
46
|
-
### SessionManager (`components/session-manager.js`)
|
|
47
|
-
- Manages session selection and filtering
|
|
48
|
-
- Updates session dropdown with available sessions
|
|
49
|
-
- Tracks current active session
|
|
50
|
-
- Updates footer information
|
|
51
|
-
|
|
52
|
-
### Dashboard (`dashboard.js`)
|
|
53
|
-
- Main application coordinator
|
|
54
|
-
- Handles tab switching between Events, Agents, Tools, and Files
|
|
55
|
-
- Manages component interactions
|
|
56
|
-
- Provides global functions for backward compatibility
|
|
57
|
-
|
|
58
|
-
## Features
|
|
59
|
-
|
|
60
|
-
### File-Centric Files Tab
|
|
61
|
-
The Files tab now shows a file-centric view where:
|
|
62
|
-
- Each file appears only once in the list
|
|
63
|
-
- Files show read/write icons based on operations performed
|
|
64
|
-
- Most recently accessed files appear at the bottom
|
|
65
|
-
- Clicking a file shows all operations performed on it with timestamps and agent information
|
|
66
|
-
|
|
67
|
-
### Tab Organization
|
|
68
|
-
- **Events**: All events with filtering and search
|
|
69
|
-
- **Agents**: Agent-specific events and operations
|
|
70
|
-
- **Tools**: Tool usage and parameters
|
|
71
|
-
- **Files**: File operations organized by file path
|
|
72
|
-
|
|
73
|
-
### Enhanced Event Details
|
|
74
|
-
- Structured views for different event types
|
|
75
|
-
- Todo checklists with status indicators
|
|
76
|
-
- Agent and tool information
|
|
77
|
-
- Session tracking and filtering
|
|
78
|
-
|
|
79
|
-
## Usage
|
|
80
|
-
|
|
81
|
-
### Development
|
|
82
|
-
For development and testing, use `test_dashboard.html` which includes module verification.
|
|
83
|
-
|
|
84
|
-
### Production
|
|
85
|
-
Use `templates/dashboard.html` as the main template, ensuring all static files are served correctly.
|
|
86
|
-
|
|
87
|
-
### Integration
|
|
88
|
-
The dashboard can be integrated into a Flask/FastAPI application by serving the static files and using the template.
|
|
89
|
-
|
|
90
|
-
## Migration from Original
|
|
91
|
-
|
|
92
|
-
The original monolithic `claude_mpm_socketio_dashboard.html` has been replaced with a modular structure:
|
|
93
|
-
|
|
94
|
-
1. **CSS**: Extracted to `static/css/dashboard.css`
|
|
95
|
-
2. **JavaScript**: Split into logical modules in `static/js/`
|
|
96
|
-
3. **HTML**: Clean template in `templates/dashboard.html`
|
|
97
|
-
|
|
98
|
-
All original functionality has been preserved while improving:
|
|
99
|
-
- Code organization and maintainability
|
|
100
|
-
- Module reusability
|
|
101
|
-
- Easier debugging and development
|
|
102
|
-
- Better separation of concerns
|
|
103
|
-
|
|
104
|
-
## Backward Compatibility
|
|
105
|
-
|
|
106
|
-
Global functions are maintained for compatibility:
|
|
107
|
-
- `connectSocket()`
|
|
108
|
-
- `disconnectSocket()`
|
|
109
|
-
- `clearEvents()`
|
|
110
|
-
- `exportEvents()`
|
|
111
|
-
- `clearSelection()`
|
|
112
|
-
- `switchTab(tabName)`
|
|
113
|
-
|
|
114
|
-
## Browser Support
|
|
115
|
-
|
|
116
|
-
Requires modern browsers with support for:
|
|
117
|
-
- ES6 Classes
|
|
118
|
-
- Fetch API
|
|
119
|
-
- Custom Events
|
|
120
|
-
- CSS Grid/Flexbox
|
|
121
|
-
- Socket.IO 4.x
|
claude_mpm/dashboard/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
4.1.0
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
.dataInspector {
|
|
2
|
-
background: rgba(0, 0, 0, 0.3);
|
|
3
|
-
border-radius: 6px;
|
|
4
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.inspectorHeader {
|
|
9
|
-
display: flex;
|
|
10
|
-
gap: 10px;
|
|
11
|
-
padding: 10px;
|
|
12
|
-
background: rgba(255, 255, 255, 0.05);
|
|
13
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
14
|
-
align-items: center;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.searchInput {
|
|
18
|
-
flex: 1;
|
|
19
|
-
padding: 8px 12px;
|
|
20
|
-
background: rgba(255, 255, 255, 0.05);
|
|
21
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
22
|
-
border-radius: 4px;
|
|
23
|
-
color: white;
|
|
24
|
-
font-size: 12px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.searchInput::placeholder {
|
|
28
|
-
color: rgba(255, 255, 255, 0.5);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.actions {
|
|
32
|
-
display: flex;
|
|
33
|
-
gap: 8px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.actionButton {
|
|
37
|
-
padding: 6px 12px;
|
|
38
|
-
background: rgba(255, 255, 255, 0.1);
|
|
39
|
-
border: none;
|
|
40
|
-
border-radius: 4px;
|
|
41
|
-
color: white;
|
|
42
|
-
font-size: 11px;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
transition: background 0.2s;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.actionButton:hover {
|
|
48
|
-
background: rgba(255, 255, 255, 0.2);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.treeContainer {
|
|
52
|
-
overflow-y: auto;
|
|
53
|
-
padding: 10px;
|
|
54
|
-
font-family: 'Courier New', monospace;
|
|
55
|
-
font-size: 13px;
|
|
56
|
-
line-height: 1.4;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.treeNode {
|
|
60
|
-
margin-bottom: 2px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.nodeHeader {
|
|
64
|
-
display: flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
gap: 6px;
|
|
67
|
-
padding: 2px 4px;
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
border-radius: 3px;
|
|
70
|
-
transition: background 0.2s;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.nodeHeader:hover {
|
|
74
|
-
background: rgba(255, 255, 255, 0.05);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.expandIcon {
|
|
78
|
-
color: #94a3b8;
|
|
79
|
-
font-size: 10px;
|
|
80
|
-
transition: transform 0.2s;
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
user-select: none;
|
|
83
|
-
width: 12px;
|
|
84
|
-
display: inline-block;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.expandIcon.expanded {
|
|
88
|
-
transform: rotate(90deg);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.leafIcon {
|
|
92
|
-
color: #94a3b8;
|
|
93
|
-
font-size: 8px;
|
|
94
|
-
width: 12px;
|
|
95
|
-
display: inline-block;
|
|
96
|
-
text-align: center;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.nodeKey {
|
|
100
|
-
color: #60a5fa;
|
|
101
|
-
font-weight: 500;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.nodeValue {
|
|
105
|
-
margin-left: 6px;
|
|
106
|
-
word-break: break-all;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.nodeValue.string {
|
|
110
|
-
color: #86efac;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.nodeValue.number {
|
|
114
|
-
color: #fbbf24;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.nodeValue.boolean {
|
|
118
|
-
color: #a78bfa;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.nodeValue.null,
|
|
122
|
-
.nodeValue.undefined {
|
|
123
|
-
color: #f87171;
|
|
124
|
-
font-style: italic;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.nodeValue.object,
|
|
128
|
-
.nodeValue.array {
|
|
129
|
-
color: #94a3b8;
|
|
130
|
-
font-style: italic;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.copyButton {
|
|
134
|
-
margin-left: auto;
|
|
135
|
-
background: none;
|
|
136
|
-
border: none;
|
|
137
|
-
color: rgba(255, 255, 255, 0.5);
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
padding: 2px;
|
|
140
|
-
font-size: 10px;
|
|
141
|
-
opacity: 0;
|
|
142
|
-
transition: opacity 0.2s;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.nodeHeader:hover .copyButton {
|
|
146
|
-
opacity: 1;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.copyButton:hover {
|
|
150
|
-
color: rgba(255, 255, 255, 0.8);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.nodeChildren {
|
|
154
|
-
border-left: 1px solid rgba(255, 255, 255, 0.1);
|
|
155
|
-
margin-left: 6px;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.highlight {
|
|
159
|
-
background: rgba(251, 191, 36, 0.3);
|
|
160
|
-
color: #fbbf24;
|
|
161
|
-
padding: 1px 2px;
|
|
162
|
-
border-radius: 2px;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.noData {
|
|
166
|
-
text-align: center;
|
|
167
|
-
color: rgba(255, 255, 255, 0.5);
|
|
168
|
-
padding: 20px;
|
|
169
|
-
font-style: italic;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/* Scrollbar styling */
|
|
173
|
-
.treeContainer::-webkit-scrollbar {
|
|
174
|
-
width: 6px;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.treeContainer::-webkit-scrollbar-track {
|
|
178
|
-
background: rgba(255, 255, 255, 0.05);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.treeContainer::-webkit-scrollbar-thumb {
|
|
182
|
-
background: rgba(255, 255, 255, 0.2);
|
|
183
|
-
border-radius: 3px;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.treeContainer::-webkit-scrollbar-thumb:hover {
|
|
187
|
-
background: rgba(255, 255, 255, 0.3);
|
|
188
|
-
}
|