fix(design): 按概念图重排面板层级并验证真实组件

This commit is contained in:
2026-11-02 23:47:12 +08:00
parent ef358794dc
commit 0e8f598fe6
12 changed files with 221 additions and 86 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ actor SystemSampler {
// A synchronous OS read may outlive cancellation. Keep the in-flight slot occupied.
}
func sample() -> MetricsSnapshot {
func sample(includeProcesses: Bool? = nil) -> MetricsSnapshot {
if let includeProcesses { setProcessVisible(includeProcesses) }
if !didProbe {
didProbe = true
if ProcessInfo.processInfo.environment["KYMO_PANEL_PROBE"] == "1" { PanelCapabilityProbe.run() }