mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-07-12 18:49:20 +00:00
Commit 5800179 (multi-day calendar) accidentally removed stuck-loading
recovery. Re-add an 8-second watchdog loop in MenuBarContent that calls
recoverFromStuckLoading(). Change inFlightKeys from Set to timestamped
Dict so the watchdog can detect orphaned quiet-refresh entries. Stop
nuking payloadRefreshGeneration in the watchdog (it was killing healthy
in-flight fetches). Bump Package.swift platform to macOS 15 to match
NSAttributedString(attachment:) usage.
26 lines
663 B
Swift
26 lines
663 B
Swift
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "CodeBurnMenubar",
|
|
platforms: [
|
|
.macOS(.v15)
|
|
],
|
|
products: [
|
|
.executable(name: "CodeBurnMenubar", targets: ["CodeBurnMenubar"])
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "CodeBurnMenubar",
|
|
path: "Sources/CodeBurnMenubar",
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "CodeBurnMenubarTests",
|
|
dependencies: ["CodeBurnMenubar"],
|
|
path: "Tests/CodeBurnMenubarTests"
|
|
)
|
|
]
|
|
)
|