The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
Keep History menu rows disabled during dialogs
dee9eaa9d62988a
diff --git a/desktop/macos/Runner/SwarmTitlebar.swift b/desktop/macos/Runner/SwarmTitlebar.swiftindex 2c4569234..2085ef2f0 100644--- a/desktop/macos/Runner/SwarmTitlebar.swift+++ b/desktop/macos/Runner/SwarmTitlebar.swift@@ -270,6 +270,14 @@ final class SwarmTitlebar: NSObject, NSMenuItemValidation, NSMenuDelegate {func menuWillOpen(_ menu: NSMenu) {syncMenuKeys()+ if menu === historyMenu {+ for item in menu.items {+ guard let row = item.view as? SwarmHistoryMenuRow else { continue }+ item.isEnabled = validateMenuItem(item)+ row.setAccessibilityEnabled(item.isEnabled)+ row.needsDisplay = true+ }+ }guard menu === modelsMenu, actionsEnabled else { return }// The native menu opens from its cache. Network/credential reads happen// asynchronously in Dart and never hold up AppKit's menu tracking.diff --git a/desktop/tool/swarm_titlebar_checks.swift b/desktop/tool/swarm_titlebar_checks.swiftindex 2e7896c9c..79782c5ea 100644--- a/desktop/tool/swarm_titlebar_checks.swift+++ b/desktop/tool/swarm_titlebar_checks.swift@@ -699,6 +699,13 @@ private extension SwarmTitlebar {let historyCallCount = messenger.calls.counttry checkTitlebar(recentView.accessibilityPerformPress() && messenger.calls.count == historyCallCount + 1 &&messenger.calls.last?.method == "historyDestination", "The full-width History row opens the same native destination")+ actionsEnabled = false+ menuWillOpen(historyMenu)+ try checkTitlebar(!recent.isEnabled && !recentView.accessibilityPerformPress(),+ "A modal disables full-width History rows and their accessibility action")+ actionsEnabled = true+ menuWillOpen(historyMenu)+ try checkTitlebar(recent.isEnabled, "History rows become available again after the modal closes")try checkTitlebar(recent.image?.size == NSSize(width: 16, height: 16) && recent.image?.isTemplate == false,"History uses the colored Claude mark at native menu size")try checkTitlebar(recent.state == .on && recent.toolTip == nil, "History adds no hover hints")