claude-mpm 4.1.12__py3-none-any.whl → 4.1.13__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/cli/commands/monitor.py +88 -627
- claude_mpm/cli/commands/mpm_init.py +7 -2
- claude_mpm/dashboard/static/built/components/activity-tree.js +1 -1
- claude_mpm/dashboard/static/built/components/code-tree.js +1 -1
- claude_mpm/dashboard/static/built/dashboard.js +1 -1
- claude_mpm/dashboard/static/built/socket-client.js +1 -1
- claude_mpm/dashboard/static/css/activity.css +1239 -267
- claude_mpm/dashboard/static/css/dashboard.css +511 -0
- claude_mpm/dashboard/static/dist/components/activity-tree.js +1 -1
- claude_mpm/dashboard/static/dist/components/code-tree.js +2 -2593
- claude_mpm/dashboard/static/dist/components/module-viewer.js +1 -1
- claude_mpm/dashboard/static/dist/dashboard.js +1 -1
- claude_mpm/dashboard/static/dist/socket-client.js +1 -1
- claude_mpm/dashboard/static/js/components/activity-tree.js +1193 -892
- claude_mpm/dashboard/static/js/components/code-tree.js +0 -17
- claude_mpm/dashboard/static/js/components/module-viewer.js +21 -7
- claude_mpm/dashboard/static/js/components/unified-data-viewer.js +1066 -0
- claude_mpm/dashboard/static/js/connection-manager.js +1 -1
- claude_mpm/dashboard/static/js/dashboard.js +196 -43
- claude_mpm/dashboard/static/js/socket-client.js +2 -2
- claude_mpm/dashboard/templates/index.html +95 -25
- claude_mpm/services/cli/socketio_manager.py +1 -1
- claude_mpm/services/infrastructure/monitoring.py +1 -1
- {claude_mpm-4.1.12.dist-info → claude_mpm-4.1.13.dist-info}/METADATA +1 -1
- {claude_mpm-4.1.12.dist-info → claude_mpm-4.1.13.dist-info}/RECORD +30 -29
- {claude_mpm-4.1.12.dist-info → claude_mpm-4.1.13.dist-info}/WHEEL +0 -0
- {claude_mpm-4.1.12.dist-info → claude_mpm-4.1.13.dist-info}/entry_points.txt +0 -0
- {claude_mpm-4.1.12.dist-info → claude_mpm-4.1.13.dist-info}/licenses/LICENSE +0 -0
- {claude_mpm-4.1.12.dist-info → claude_mpm-4.1.13.dist-info}/top_level.txt +0 -0
|
@@ -2127,16 +2127,6 @@ class CodeTree {
|
|
|
2127
2127
|
return;
|
|
2128
2128
|
}
|
|
2129
2129
|
|
|
2130
|
-
hasName: d.data.hasOwnProperty('name'),
|
|
2131
|
-
hasPath: d.data.hasOwnProperty('path'),
|
|
2132
|
-
hasType: d.data.hasOwnProperty('type'),
|
|
2133
|
-
hasLoaded: d.data.hasOwnProperty('loaded'),
|
|
2134
|
-
name: d.data.name,
|
|
2135
|
-
path: d.data.path,
|
|
2136
|
-
type: d.data.type,
|
|
2137
|
-
loaded: d.data.loaded
|
|
2138
|
-
});
|
|
2139
|
-
|
|
2140
2130
|
// Node interaction detected
|
|
2141
2131
|
|
|
2142
2132
|
// === PHASE 1: Immediate Visual Effects (Synchronous) ===
|
|
@@ -2221,13 +2211,6 @@ class CodeTree {
|
|
|
2221
2211
|
// === PHASE 3: Async Operations (Delayed) ===
|
|
2222
2212
|
// Add a small delay to ensure visual effects are rendered first
|
|
2223
2213
|
|
|
2224
|
-
type: d.data.type,
|
|
2225
|
-
loaded: d.data.loaded,
|
|
2226
|
-
typeIsDirectory: d.data.type === 'directory',
|
|
2227
|
-
loadedIsFalsy: !d.data.loaded,
|
|
2228
|
-
willRequestDiscovery: (d.data.type === 'directory' && !d.data.loaded)
|
|
2229
|
-
});
|
|
2230
|
-
|
|
2231
2214
|
// For directories that haven't been loaded yet, request discovery
|
|
2232
2215
|
if (d.data.type === 'directory' && !d.data.loaded) {
|
|
2233
2216
|
// Mark as loading immediately to prevent duplicate requests
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Module Viewer Component
|
|
3
3
|
* Displays detailed information about selected events organized by class/type
|
|
4
|
+
* Now uses UnifiedDataViewer for consistent data formatting
|
|
4
5
|
*/
|
|
5
6
|
|
|
7
|
+
import { UnifiedDataViewer } from './unified-data-viewer.js';
|
|
8
|
+
|
|
6
9
|
class ModuleViewer {
|
|
7
10
|
constructor(containerId) {
|
|
8
11
|
this.container = document.getElementById(containerId);
|
|
@@ -17,6 +20,9 @@ class ModuleViewer {
|
|
|
17
20
|
|
|
18
21
|
// Track if keyboard listener has been added to avoid duplicates
|
|
19
22
|
this.keyboardListenerAdded = false;
|
|
23
|
+
|
|
24
|
+
// Initialize unified data viewer
|
|
25
|
+
this.unifiedViewer = new UnifiedDataViewer('module-data-content');
|
|
20
26
|
|
|
21
27
|
this.init();
|
|
22
28
|
}
|
|
@@ -81,17 +87,22 @@ class ModuleViewer {
|
|
|
81
87
|
}
|
|
82
88
|
|
|
83
89
|
/**
|
|
84
|
-
* Show details for a selected event
|
|
90
|
+
* Show details for a selected event using UnifiedDataViewer
|
|
85
91
|
* @param {Object} event - The selected event
|
|
86
92
|
*/
|
|
87
93
|
showEventDetails(event) {
|
|
88
94
|
this.currentEvent = event;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
|
|
96
|
+
if (!this.unifiedViewer) {
|
|
97
|
+
console.warn('ModuleViewer: UnifiedDataViewer not available');
|
|
98
|
+
// Fallback to legacy rendering
|
|
99
|
+
this.renderStructuredData(event);
|
|
100
|
+
this.renderJsonData(event);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Use unified viewer to display event data
|
|
105
|
+
this.unifiedViewer.display(event, 'event');
|
|
95
106
|
}
|
|
96
107
|
|
|
97
108
|
/**
|
|
@@ -1386,6 +1397,9 @@ class ModuleViewer {
|
|
|
1386
1397
|
* Clear the module viewer
|
|
1387
1398
|
*/
|
|
1388
1399
|
clear() {
|
|
1400
|
+
if (this.unifiedViewer) {
|
|
1401
|
+
this.unifiedViewer.clear();
|
|
1402
|
+
}
|
|
1389
1403
|
this.showEmptyState();
|
|
1390
1404
|
}
|
|
1391
1405
|
|