Commit 5525000
fix: eliminate VM004, VM005, VM006 violations in MainWindowViewModel
Replace direct Process.Start calls with _processLauncher service methods.
Replace Timer/FileSystemWatcher with _timerService/_serviceFactory abstractions.
Replace JsonDocument.Parse/JsonNode.Parse with _jsonParser service methods.
Move WatchFileSystem factory method to McpServiceFactory to avoid
FileSystemWatcher type name in ViewModel file.
Remove dead code: OnAgentsReadmeFileChanged, OnAgentsReadmeFileRenamed,
OnAgentsReadmeWatcherError event handlers (replaced by watcher callback).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 6feeeab commit 5525000
2 files changed
Lines changed: 190 additions & 287 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
75 | 82 | | |
0 commit comments