csharpdeeb25a2 | 1 | using CascadeIDE.Cockpit.Cds; |
| 2 | using CascadeIDE.Services; |
| 3 | |
| 4 | namespace CascadeIDE.Features.IdeMcp.Application; |
| 5 | |
| 6 | /// <summary> |
| 7 | /// Поля главного окна, читаемые на UI-потоке для <see cref="IdeMcpWorkspaceOrchestrator.BuildIdeStatePayload"/>. |
| 8 | /// </summary> |
| 9 | public readonly record struct IdeMcpIdeStateUiCapture( |
| 10 | string? SolutionPath, |
| 11 | string? CurrentFilePath, |
| 12 | string? SelectedSolutionPath, |
| 13 | int EditorTextLength, |
| 14 | int? SelectionStart, |
| 15 | int? SelectionLength, |
| 16 | IReadOnlyCollection<int> CurrentFileBreakpoints, |
| 17 | DebugSessionSnapshot DebugSnapshot, |
| 18 | bool IsBuildOutputVisible, |
| 19 | string BuildOutputPreview, |
| 20 | string? BinlogPath, |
| 21 | bool IsTerminalVisible, |
| 22 | string? UiMode, |
| 23 | bool IsPfdRegionExpanded, |
| 24 | bool IsMfdRegionExpanded, |
| 25 | bool IsGitPanelVisible, |
| 26 | bool IsInstrumentationDockVisible, |
| 27 | string? SafetyLevel, |
| 28 | int EditorGroupCount, |
| 29 | int AgentTraceStepCount, |
| 30 | bool IsAutonomousRunning, |
| 31 | CockpitSurfaceState CockpitSurface); |
| 32 | |
View only · write via MCP/CIDE