From 9ba7cd3b47fb91eaaa8d0c3df8b7286a89be1756 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 28 Jun 2026 21:19:30 +0800
Subject: [PATCH] Freeze 0.1.12 local QA baseline
---
C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift b/C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift
index bb70050..c8e3b03 100644
--- a/C1.source/Sources/Aligner/Diagnostics/Round1SnapshotDump.swift
+++ b/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 = [
--
Gitblit v1.9.3