mvp-ai's picture
download
raw
822 Bytes
import SwiftUI
@main
struct CoordCockpitMacApp: App {
@StateObject private var model = CockpitModel()
var body: some Scene {
WindowGroup("Coord Cockpit", id: "cockpit") {
MacCockpitView(model: model)
.frame(minWidth: 920, minHeight: 620)
.task { model.startPolling() }
}
MenuBarExtra {
MenuSummaryView(model: model)
} label: {
Label(menuLabel, systemImage: model.snapshot?.stale == true ? "gauge.with.dots.needle.33percent" : "gauge.with.dots.needle.67percent")
}
.menuBarExtraStyle(.window)
}
private var menuLabel: String {
guard let summary = model.snapshot?.summary else { return "Coord" }
return "\(summary.running) running, \(summary.attention) attention"
}
}

Xet Storage Details

Size:
822 Bytes
·
Xet hash:
7f28ca45e089a02b92a58aacac2866c543107ed560b55d6a5c2c3e774825646f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.