windows-mcp 0.5.8__py3-none-any.whl → 0.6.0__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.
- windows_mcp/__main__.py +299 -314
- windows_mcp/analytics.py +0 -5
- windows_mcp/desktop/service.py +638 -458
- windows_mcp/desktop/views.py +7 -5
- windows_mcp/tree/cache_utils.py +126 -0
- windows_mcp/tree/config.py +25 -0
- windows_mcp/tree/service.py +543 -601
- windows_mcp/tree/views.py +142 -116
- windows_mcp/uia/controls.py +11 -2
- windows_mcp/uia/core.py +9 -0
- windows_mcp/vdm/__init__.py +1 -0
- windows_mcp/vdm/core.py +490 -0
- windows_mcp/watchdog/event_handlers.py +13 -9
- windows_mcp/watchdog/service.py +15 -4
- {windows_mcp-0.5.8.dist-info → windows_mcp-0.6.0.dist-info}/METADATA +27 -21
- windows_mcp-0.6.0.dist-info/RECORD +29 -0
- windows_mcp-0.5.8.dist-info/RECORD +0 -26
- {windows_mcp-0.5.8.dist-info → windows_mcp-0.6.0.dist-info}/WHEEL +0 -0
- {windows_mcp-0.5.8.dist-info → windows_mcp-0.6.0.dist-info}/entry_points.txt +0 -0
- {windows_mcp-0.5.8.dist-info → windows_mcp-0.6.0.dist-info}/licenses/LICENSE.md +0 -0
windows_mcp/analytics.py
CHANGED
|
@@ -90,8 +90,6 @@ class PostHogAnalytics:
|
|
|
90
90
|
# Using print for immediate visibility in console during debugging
|
|
91
91
|
print(f"[Analytics] {tool_name}: {success_mark} ({duration}ms)")
|
|
92
92
|
logger.info(f"{tool_name}: {success_mark} ({duration}ms)")
|
|
93
|
-
if self.client:
|
|
94
|
-
self.client.flush()
|
|
95
93
|
|
|
96
94
|
async def track_error(self, error: Exception, context: Dict[str, Any]) -> None:
|
|
97
95
|
if self.client:
|
|
@@ -107,9 +105,6 @@ class PostHogAnalytics:
|
|
|
107
105
|
}
|
|
108
106
|
)
|
|
109
107
|
|
|
110
|
-
if self.client:
|
|
111
|
-
self.client.flush()
|
|
112
|
-
|
|
113
108
|
logger.error(f"ERROR in {context.get('tool_name')}: {error}")
|
|
114
109
|
|
|
115
110
|
async def is_feature_enabled(self, feature: str) -> bool:
|