Skip to content

Commit 8fb69ed

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat-ios-auto-attach
# Conflicts: # .github/swift-file-length-budget.tsv
2 parents ed632e5 + 50ae246 commit 8fb69ed

442 files changed

Lines changed: 40568 additions & 4068 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/scheduled_tasks.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"sessionId":"5c2a62d0-99c2-42c0-9452-f67b6fbaacda","pid":75304,"procStart":"Thu Jun 4 23:34:54 2026","acquiredAt":1780616564932}
1+
{"sessionId":"4311956b-e43f-405e-8b49-c3990850966d","pid":43365,"procStart":"Sun Jun 14 21:55:11 2026","acquiredAt":1781485012958}
Lines changed: 62 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,90 @@
11
# cmux-owned Swift file length budget.
22
# Format: max_lines<TAB>relative path
33
# Reduce counts as files shrink. CI fails if tracked files exceed this budget.
4-
33454 CLI/cmux.swift
5-
17914 Sources/AppDelegate.swift
6-
16740 Sources/ContentView.swift
7-
14612 Sources/TerminalController.swift
8-
13595 Sources/Panels/BrowserPanel.swift
9-
12088 Sources/GhosttyTerminalView.swift
4+
34469 CLI/cmux.swift
5+
17892 Sources/AppDelegate.swift
6+
16696 Sources/ContentView.swift
7+
14822 Sources/TerminalController.swift
8+
13358 Sources/Panels/BrowserPanel.swift
9+
12998 Sources/Workspace.swift
10+
12124 Sources/GhosttyTerminalView.swift
1011
12046 cmuxTests/AppDelegateShortcutRoutingTests.swift
11-
11992 Sources/Workspace.swift
12-
9345 cmuxTests/CLINotifyProcessIntegrationRegressionTests.swift
13-
7911 Sources/Panels/BrowserPanelView.swift
14-
7350 cmuxTests/WorkspaceUnitTests.swift
15-
6944 cmuxTests/WorkspaceRemoteConnectionTests.swift
12+
9331 cmuxTests/CLINotifyProcessIntegrationRegressionTests.swift
13+
7925 Sources/Panels/BrowserPanelView.swift
14+
7355 cmuxTests/WorkspaceUnitTests.swift
15+
7221 cmuxTests/WorkspaceRemoteConnectionTests.swift
1616
6317 cmuxTests/SessionPersistenceTests.swift
1717
6299 cmuxTests/GhosttyConfigTests.swift
18+
6156 Sources/TabManager.swift
1819
6153 CLI/cmux_open.swift
19-
6074 Sources/TabManager.swift
2020
6074 Sources/TextBoxInput.swift
21+
5987 Packages/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swift
2122
5925 cmuxTests/TerminalAndGhosttyTests.swift
22-
5549 Packages/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swift
23-
5522 cmuxTests/BrowserConfigTests.swift
24-
4921 Sources/cmuxApp.swift
25-
4460 Sources/Panels/FilePreviewPanel.swift
23+
5526 cmuxTests/BrowserConfigTests.swift
24+
4920 Sources/cmuxApp.swift
25+
4467 Sources/Panels/FilePreviewPanel.swift
2626
4400 cmuxTests/BrowserPanelTests.swift
2727
4227 Sources/BrowserWindowPortal.swift
2828
3937 Sources/Feed/FeedPanelView.swift
29+
3926 cmuxTests/TabManagerUnitTests.swift
2930
3903 cmuxTests/WindowAndDragTests.swift
30-
3765 cmuxTests/TabManagerUnitTests.swift
31+
3734 Packages/CmuxMobileTerminal/Sources/CmuxMobileTerminal/GhosttySurfaceView.swift
3132
3699 cmuxTests/CLIGenericHookPersistenceTests.swift
32-
3664 Packages/CmuxMobileTerminal/Sources/CmuxMobileTerminal/GhosttySurfaceView.swift
3333
3397 Sources/CmuxConfig.swift
3434
3331 cmuxTests/TabManagerSessionSnapshotTests.swift
35-
3200 Sources/Update/UpdateTitlebarAccessory.swift
35+
3055 Sources/Update/UpdateTitlebarAccessory.swift
3636
2878 Sources/SessionIndexView.swift
3737
2871 cmuxTests/CMUXOpenCommandTests.swift
3838
2573 Sources/KeyboardShortcutSettings.swift
3939
2565 Sources/Panels/CmuxWebView.swift
4040
2546 cmuxTests/WorkspaceManualUnreadTests.swift
41-
2449 cmuxTests/CommandPaletteSearchEngineTests.swift
41+
2460 cmuxTests/CommandPaletteSearchEngineTests.swift
4242
2395 Sources/Mobile/MobileHostService.swift
43+
2355 Sources/FileExplorerView.swift
4344
2328 cmuxTests/CJKIMEInputTests.swift
44-
2314 Sources/FileExplorerView.swift
45-
2252 Sources/TerminalWindowPortal.swift
45+
2259 Sources/TerminalWindowPortal.swift
4646
2236 Sources/TerminalNotificationStore.swift
4747
2117 cmuxTests/CmuxConfigTests.swift
48-
2095 cmuxTests/ShortcutAndCommandPaletteTests.swift
49-
2059 Sources/SessionPersistence.swift
50-
2036 Sources/KeyboardShortcutSettingsFileStore.swift
48+
2092 cmuxTests/ShortcutAndCommandPaletteTests.swift
49+
2070 Sources/SessionPersistence.swift
5150
1949 Sources/Panels/BrowserWebAuthnSupport.swift
51+
1941 Sources/KeyboardShortcutSettingsFileStore.swift
52+
1880 Sources/RestorableAgentSession.swift
5253
1860 cmuxTests/NotificationAndMenuBarTests.swift
5354
1794 Sources/SessionIndexStore.swift
54-
1777 Sources/RestorableAgentSession.swift
5555
1748 Sources/WindowDragHandleView.swift
56-
1724 cmuxTests/TerminalControllerSocketSecurityTests.swift
5756
1695 cmuxTests/WorkspacePullRequestSidebarTests.swift
5857
1677 cmuxUITests/BrowserPaneNavigationKeybindUITests.swift
5958
1652 cmuxTests/CMUXCLIErrorOutputRegressionTests.swift
6059
1574 cmuxTests/MarkdownPanelTests.swift
6160
1560 cmuxTests/TextBoxMentionCompletionTests.swift
61+
1547 cmuxTests/TerminalControllerSocketSecurityTests.swift
62+
1512 cmuxTests/RestorableAgentSessionIndexTests.swift
6263
1497 cmuxTests/OmnibarAndToolsTests.swift
6364
1496 cmuxUITests/MultiWindowNotificationsUITests.swift
6465
1446 Sources/FileExplorerStore.swift
65-
1382 cmuxTests/KeyboardShortcutSettingsFileStoreStartupTests.swift
66+
1426 Sources/VaultAgentProcessScanner.swift
67+
1412 Sources/RemoteTmuxControlConnection.swift
68+
1384 cmuxTests/KeyboardShortcutSettingsFileStoreStartupTests.swift
6669
1380 cmuxUITests/MenuKeyEquivalentRoutingUITests.swift
6770
1373 cmuxTests/AppDelegateIssue2907RoutingTests.swift
6871
1366 Sources/Feed/FeedButtonStyleDebugWindowController.swift
6972
1362 Sources/CMUXInstalledExtensionSidebarHostView.swift
7073
1292 Packages/CmuxTerminalCore/Sources/CmuxTerminalCore/Config/GhosttyConfig.swift
7174
1285 cmuxUITests/SidebarHelpMenuUITests.swift
7275
1276 cmuxTests/MobileHostAuthorizationTests.swift
73-
1270 cmuxTests/RestorableAgentSessionIndexTests.swift
7476
1257 Sources/Feed/FeedCoordinator.swift
75-
1216 Packages/CmuxCommandPalette/Tests/CmuxCommandPaletteTests/CommandPaletteSearchEngineTests.swift
76-
1205 Packages/CmuxMobileTerminal/Sources/CmuxMobileTerminal/TerminalInputTextView.swift
77+
1252 Packages/CmuxMobileTerminal/Sources/CmuxMobileTerminal/TerminalInputTextView.swift
78+
1228 Packages/CmuxCommandPalette/Tests/CmuxCommandPaletteTests/CommandPaletteSearchEngineTests.swift
7779
1197 cmuxTests/CodexAppServerSessionTests.swift
78-
1166 Sources/VaultAgentProcessScanner.swift
7980
1161 cmuxTests/SidebarOrderingTests.swift
8081
1144 cmuxTests/PiVaultAgentPersistenceTests.swift
8182
1126 cmuxTests/FileExplorerStoreTests.swift
8283
1120 cmuxTests/AgentHibernationTests.swift
8384
1107 Sources/AppDelegate+CmuxSSHURL.swift
8485
1093 cmuxUITests/BonsplitTabDragUITests.swift
85-
1048 Packages/CmuxCommandPalette/Sources/CmuxCommandPalette/Search/CommandPaletteFuzzyMatcher.swift
86+
1087 Packages/CmuxCommandPalette/Sources/CmuxCommandPalette/Search/CommandPaletteFuzzyMatcher.swift
87+
1038 Sources/RemoteTmuxController.swift
8688
1021 cmuxUITests/TerminalCmdClickUITests.swift
8789
1006 cmuxTests/CmuxSSHURLRequestTests.swift
8890
1000 cmuxTests/CmuxTopSnapshotScopeTests.swift
@@ -94,40 +96,41 @@
9496
932 Packages/CmuxMobileShell/Tests/CmuxMobileShellTests/MobileAutoAttachTests.swift
9597
926 Sources/DockPanelView.swift
9698
920 Sources/CommandPalette/CommandPaletteSettingsToggle.swift
97-
919 Packages/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface+RuntimeLifecycle.swift
9899
918 cmuxTests/WorkspaceGroupTests.swift
100+
912 Sources/WorkspaceContentView.swift
99101
905 Sources/CmuxSSHURLRequest.swift
100102
901 Packages/CmuxSettingsUI/Sources/CmuxSettingsUI/Sections/AppSection.swift
101-
893 Sources/WorkspaceContentView.swift
103+
878 Sources/Panels/TerminalPanel.swift
102104
868 Sources/Panels/BrowserScreenshotSnapshotter.swift
103-
866 Sources/Panels/TerminalPanel.swift
104-
852 Packages/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Workspace/ControlCommandCoordinator+Workspace.swift
105+
859 Packages/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Workspace/ControlCommandCoordinator+Workspace.swift
105106
847 cmuxTests/AgentSessionAutoResumeSettingsTests.swift
106107
845 cmuxTests/SSHStartupSignalLifecycleTests.swift
107108
841 Sources/Panels/MarkdownWebRenderer.swift
108109
830 Sources/TaskManagerTypes.swift
109110
810 Packages/CmuxSwiftRender/Tests/CmuxSwiftRenderTests/SwiftViewInterpreterTests.swift
110-
787 Sources/ClosedItemHistory.swift
111+
797 Sources/ClosedItemHistory.swift
111112
779 cmuxUITests/BrowserOmnibarSuggestionsUITests.swift
112113
774 cmuxUITests/BrowserFixtureInteractionUITests.swift
113-
770 Sources/MainWindowFocusController.swift
114+
773 Sources/MainWindowFocusController.swift
114115
762 Packages/CmuxMobileTransport/Sources/CmuxMobileTransport/CmxNetworkByteTransport.swift
115116
760 Packages/CMUXAgentLaunch/Tests/CMUXAgentLaunchTests/AgentLaunchSanitizerTests.swift
116117
756 Sources/Panels/AgentSessionWebRendererCoordinator.swift
117-
752 Sources/TerminalController+ControlWorkspaceContext.swift
118+
754 Sources/TerminalController+ControlWorkspaceContext.swift
119+
753 cmuxTests/RestorableAgentHookProviderResumeTests.swift
118120
752 cmuxUITests/CloseWorkspaceCmdDUITests.swift
121+
749 Packages/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface+Input.swift
119122
746 Sources/App/MenuBarExtraController.swift
123+
744 Packages/CmuxMobileShellUI/Sources/CmuxMobileShellUI/TerminalComposerView.swift
120124
738 Packages/CMUXProjectModel/Sources/CMUXProjectModel/XcodeProjectAdapter.swift
121125
736 Packages/CmuxAuthRuntime/Sources/CmuxAuthRuntime/Coordinator/AuthCoordinator.swift
126+
726 cmuxTests/CLICodexHookTimeoutRegressionTests.swift
127+
725 Sources/RightSidebarPanelView.swift
122128
716 Sources/TaskManagerSnapshot.swift
123-
715 Packages/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface+Input.swift
124129
715 Sources/AppleScriptSupport.swift
125130
710 Sources/TerminalSSHSessionDetector.swift
131+
707 CLI/CMUXCLI+AgentHookDefinitions.swift
126132
706 CLI/CMUXCLI+Config.swift
127-
701 CLI/CMUXCLI+AgentHookDefinitions.swift
128-
699 Sources/RightSidebarPanelView.swift
129133
699 cmuxTests/TerminalNotificationClearAllTests.swift
130-
698 cmuxTests/RestorableAgentHookProviderResumeTests.swift
131134
696 cmuxTests/UpdatePillReleaseVisibilityTests.swift
132135
693 Sources/Panels/BrowserPopupWindowController.swift
133136
691 Sources/NotificationSoundSettings.swift
@@ -139,26 +142,30 @@
139142
680 Sources/FileExplorerSearchController.swift
140143
677 Packages/CmuxRemoteSession/Sources/CmuxRemoteSession/Session/RemoteSessionCoordinator+Bootstrap.swift
141144
668 cmuxTests/FeedCoordinatorTests.swift
145+
655 Packages/CmuxRemoteSession/Sources/CmuxRemoteSession/Session/RemoteSessionCoordinator.swift
146+
655 Packages/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface+RuntimeLifecycle.swift
142147
654 Packages/CmuxSettingsUI/Sources/CmuxSettingsUI/Sections/KeyboardShortcutsSection.swift
143148
650 Sources/Panels/MarkdownRemoteImageLoader.swift
144149
649 Sources/CmuxTopSnapshot.swift
145-
648 Packages/CmuxRemoteSession/Sources/CmuxRemoteSession/Session/RemoteSessionCoordinator.swift
146150
641 cmuxTests/CommandPaletteNucleoFFITests.swift
151+
636 Sources/TerminalController+ControlPaneContext.swift
147152
630 Packages/CmuxSettings/Sources/CmuxSettings/Values/ShortcutWhenClause.swift
148153
621 cmuxTests/FinderFileDropRegressionTests.swift
149154
621 cmuxUITests/RightSidebarChromeHeightUITests.swift
150155
620 cmuxTests/TerminalNotificationQueueTests.swift
156+
615 cmuxTests/RemoteTmuxControlParserTests.swift
151157
614 Sources/PortScanner.swift
152158
614 cmuxTests/SessionIndexViewTests.swift
153-
611 Sources/TerminalController+ControlPaneContext.swift
154159
608 Packages/CmuxWorkspaces/Sources/CmuxWorkspaces/Coordinators/WorkspaceGroupCoordinator.swift
160+
605 Sources/SettingsNavigation.swift
155161
604 Packages/CmuxCommandPalette/Tests/CmuxCommandPaletteTests/CommandPaletteNucleoFFITests.swift
156-
603 Sources/SettingsNavigation.swift
157162
599 Packages/CMUXAgentLaunch/Sources/CMUXAgentLaunch/AgentLaunchSanitizerPrimaryPolicies.swift
158163
596 cmuxTests/CmuxEventBusTests.swift
159164
594 Sources/SessionIndexModels.swift
160165
594 cmuxTests/PortalTabDragRoutingTests.swift
166+
590 Packages/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface.swift
161167
588 cmuxTests/CommandPaletteShortcutCustomizationTests.swift
168+
586 Packages/CmuxRemoteSession/Sources/CmuxRemoteSession/Session/RemoteSessionCoordinator+PortScan.swift
162169
586 Sources/JSONCParser.swift
163170
585 Sources/Cloud/VMClient.swift
164171
580 Packages/CmuxExtensionKit/Tests/CmuxExtensionKitTests/CmuxExtensionKitTests.swift
@@ -171,38 +178,39 @@
171178
562 cmuxTests/AgentExecutableResolverTests.swift
172179
561 cmuxTests/GhosttyConfigPathResolverTests.swift
173180
558 Packages/CmuxGit/Sources/CmuxGit/Parsing/GitMetadataService+Config.swift
181+
557 Packages/CmuxMobileShellUI/Sources/CmuxMobileShellUI/WorkspaceDetailView.swift
174182
554 Sources/Panels/BrowserAutomation.swift
175183
551 Packages/CmuxSettingsUI/Sources/CmuxSettingsUI/Sections/BrowserSection.swift
176184
547 Packages/CmuxSocketControl/Sources/CmuxSocketControl/SocketControlSettings.swift
177185
547 Sources/Windowing/WindowGlassEffect.swift
186+
541 Packages/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Pane/ControlCommandCoordinator+Pane.swift
178187
540 Packages/CmuxWorkspaces/Sources/CmuxWorkspaces/Coordinators/WorkspaceReorderCoordinator.swift
179188
539 CLI/CMUXCLI+Themes.swift
180189
539 CLI/CodexTeamsApprovalBridge.swift
181-
539 Packages/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface.swift
182190
538 Packages/CmuxRemoteWorkspace/Sources/CmuxRemoteWorkspace/PTYBridge/RemotePTYBridgeSession.swift
183191
536 cmuxTests/CmuxConfigContextMenuTests.swift
184-
533 Packages/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Pane/ControlCommandCoordinator+Pane.swift
192+
534 Packages/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Surface/ControlCommandCoordinator+Surface.swift
185193
531 Packages/CmuxSettingsUI/Sources/CmuxSettingsUI/Scene/SettingsWindowScene.swift
186194
531 Sources/App/WorkspaceRuntimeSettings.swift
187195
530 Packages/CmuxMobileTerminal/Sources/CmuxMobileTerminal/GhosttyRuntime.swift
188196
528 cmuxTests/CLINotifyProcessTestSupport.swift
189197
528 cmuxUITests/AutomationSocketUITests.swift
190198
527 CLI/CLISocketPathResolver.swift
191-
523 Packages/CmuxRemoteSession/Sources/CmuxRemoteSession/Session/RemoteSessionCoordinator+PortScan.swift
199+
524 CLI/CMUXCLI+AutoNaming.swift
200+
522 Packages/CmuxSettingsUI/Sources/CmuxSettingsUI/Sections/AutomationSection.swift
192201
520 CLI/CMUXCLI+AmpExtension.swift
193202
520 cmuxTests/MainWindowVisibilityControllerTests.swift
194203
519 Packages/CmuxSwiftRender/Tests/CmuxSwiftRenderTests/Corpus/stress-two-column-cockpit-sidebar.swift
195-
518 Packages/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Surface/ControlCommandCoordinator+Surface.swift
196-
518 Packages/CmuxMobileShellUI/Sources/CmuxMobileShellUI/WorkspaceDetailView.swift
204+
519 Sources/CmuxConfigExecutor.swift
197205
518 Packages/CmuxSwiftRender/Tests/CmuxSwiftRenderTests/Corpus/stress-git-review-queue-command-deck.swift
198-
516 Sources/CmuxConfigExecutor.swift
206+
517 Sources/TerminalImageTransfer.swift
199207
514 Packages/CmuxSwiftRender/Sources/CmuxSwiftRender/ExpressionEvaluator.swift
200208
514 cmuxUITests/UpdatePillUITests.swift
201-
510 Sources/TerminalImageTransfer.swift
202209
509 Packages/CMUXAgentLaunch/Sources/CMUXAgentLaunch/AgentLaunchSanitizerAdditionalPolicies.swift
203210
507 Sources/TerminalControllerTopSupport.swift
204211
506 Sources/App/MainWindowVisibilityController.swift
205212
505 cmuxUITests/DisplayResolutionRegressionUITests.swift
206213
504 cmuxTests/TerminalNotificationSocketActionTests.swift
207214
503 Sources/Settings/ConfigSource.swift
215+
502 Packages/CmuxControlSocket/Tests/CmuxControlSocketTests/ControlCommandContextTestStubs.swift
208216
502 Sources/CmuxEventPublishing.swift

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ jobs:
481481
CmuxSettings
482482
CmuxSettingsUI
483483
CmuxSocketControl
484+
CmuxTerminal
484485
CmuxTerminalCore
485486
CmuxTerminalEngine
486487
CmuxTerminalServices
@@ -500,7 +501,7 @@ jobs:
500501
for pkg in "${PACKAGES[@]}"; do
501502
echo "::group::swift test Packages/$pkg"
502503
case "$pkg" in
503-
CmuxTerminalCore|CmuxTerminalEngine|CmuxTerminalServices)
504+
CmuxTerminal|CmuxTerminalCore|CmuxTerminalEngine|CmuxTerminalServices)
504505
status=0
505506
output="$(swift test --package-path "Packages/$pkg" 2>&1)" || status=$?
506507
printf '%s\n' "$output"

0 commit comments

Comments
 (0)