Ariver
2026-06-18 4e9fef02a574f16bb6fe3f7cef4f967e009d2a5d
C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift
@@ -89,6 +89,7 @@
            "isMinimized": window.isMinimized,
            "isFullscreen": window.isFullscreen,
            "isGhost": window.isGhost,
            "frame": frameDictionary(window.frame) as Any,
            "spaceIDs": window.spaceIDs,
            "app": appDictionary(window.app)
        ] as [String: Any]
@@ -98,6 +99,17 @@
        return result
    }
    private static func frameDictionary(_ frame: CGRect?) -> Any {
        guard let frame else { return NSNull() }
        return [
            "x": frame.origin.x,
            "y": frame.origin.y,
            "width": frame.size.width,
            "height": frame.size.height
        ]
    }
    private static func appDictionary(_ app: AlignerApp) -> [String: Any] {
        let pathSummary = DevelopmentDiagnostics.pathSummary(app.executablePath)
        var result = [