Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 33 additions & 37 deletions .github/swift-file-length-budget.tsv
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
# cmux-owned Swift file length budget.
# Format: max_lines<TAB>relative path
# Reduce counts as files shrink. CI fails if tracked files exceed this budget.
35469 CLI/cmux.swift
17854 Sources/AppDelegate.swift
16274 Sources/ContentView.swift
15095 Sources/TerminalController.swift
13161 Sources/Workspace.swift
35398 CLI/cmux.swift
17862 Sources/AppDelegate.swift
16424 Sources/ContentView.swift
15094 Sources/TerminalController.swift
13077 Sources/Workspace.swift
12501 Sources/GhosttyTerminalView.swift
12348 cmuxTests/AppDelegateShortcutRoutingTests.swift
11388 Sources/Panels/BrowserPanel.swift
11344 Sources/Panels/BrowserPanel.swift
9497 cmuxTests/CLINotifyProcessIntegrationRegressionTests.swift
8016 CLI/cmux_open.swift
7959 Sources/Panels/BrowserPanelView.swift
7736 Packages/iOS/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swift
7709 Packages/iOS/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swift
7489 cmuxTests/WorkspaceUnitTests.swift
7312 cmuxTests/WorkspaceRemoteConnectionTests.swift
6359 cmuxTests/SessionPersistenceTests.swift
6255 cmuxTests/GhosttyConfigTests.swift
6206 Sources/TabManager.swift
5915 cmuxTests/TerminalAndGhosttyTests.swift
6223 Sources/TabManager.swift
5914 cmuxTests/TerminalAndGhosttyTests.swift
5809 Sources/TextBoxInput.swift
5572 cmuxTests/BrowserConfigTests.swift
4759 Sources/cmuxApp.swift
4758 Sources/cmuxApp.swift
4482 Sources/Panels/FilePreviewPanel.swift
4367 cmuxTests/BrowserPanelTests.swift
4007 cmuxTests/TabManagerUnitTests.swift
3981 Sources/BrowserWindowPortal.swift
3827 Packages/iOS/CmuxMobileTerminal/Sources/CmuxMobileTerminal/GhosttySurfaceView.swift
3953 cmuxTests/WindowAndDragTests.swift
3934 Sources/Feed/FeedPanelView.swift
3827 Packages/iOS/CmuxMobileTerminal/Sources/CmuxMobileTerminal/GhosttySurfaceView.swift
3673 cmuxTests/TabManagerSessionSnapshotTests.swift
3668 cmuxTests/CLIGenericHookPersistenceTests.swift
3314 Sources/CmuxConfig.swift
3124 Sources/Update/UpdateTitlebarAccessory.swift
2876 cmuxTests/CMUXOpenCommandTests.swift
2875 Sources/SessionIndexView.swift
2581 Sources/KeyboardShortcutSettings.swift
2611 Sources/KeyboardShortcutSettings.swift
2562 Sources/Panels/CmuxWebView.swift
2546 cmuxTests/WorkspaceManualUnreadTests.swift
2524 cmuxTests/CommandPaletteSearchEngineTests.swift
2403 Sources/Mobile/MobileHostService.swift
2328 cmuxTests/CJKIMEInputTests.swift
2229 Sources/TerminalWindowPortal.swift
2203 Sources/RestorableAgentSession.swift
2216 Sources/TerminalNotificationStore.swift
2203 Sources/RestorableAgentSession.swift
2133 cmuxTests/ShortcutAndCommandPaletteTests.swift
2126 cmuxTests/CmuxConfigTests.swift
2014 Sources/SessionPersistence.swift
1989 Sources/KeyboardShortcutSettingsFileStore.swift
2016 Sources/SessionPersistence.swift
2011 Sources/KeyboardShortcutSettingsFileStore.swift
1900 cmuxTests/NotificationAndMenuBarTests.swift
1866 Sources/Panels/BrowserWebAuthnSupport.swift
1847 cmuxTests/TerminalControllerSocketSecurityTests.swift
Expand All @@ -63,7 +63,6 @@
1523 cmuxTests/RestorableAgentSessionIndexTests.swift
1500 cmuxUITests/MultiWindowNotificationsUITests.swift
1499 cmuxTests/OmnibarAndToolsTests.swift
1433 Sources/RemoteTmuxControlConnection.swift
1428 cmuxTests/AgentSessionAutoResumeSwiftTests.swift
1420 cmuxTests/AppDelegateIssue2907RoutingTests.swift
1384 cmuxTests/KeyboardShortcutSettingsFileStoreStartupTests.swift
Expand All @@ -78,25 +77,25 @@
1258 Sources/Feed/FeedCoordinator.swift
1240 cmuxTests/SidebarOrderingTests.swift
1209 Packages/macOS/CmuxCommandPalette/Tests/CmuxCommandPaletteTests/CommandPaletteSearchEngineTests.swift
1205 Sources/RemoteTmuxController.swift
1204 cmuxTests/FileExplorerStoreTests.swift
1197 cmuxTests/CodexAppServerSessionTests.swift
1197 cmuxTests/VMDefaultCloudCommandTests.swift
1175 Sources/RemoteTmuxControlConnection.swift
1166 Sources/VaultAgentProcessScanner.swift
1156 Sources/RemoteTmuxController.swift
1147 cmuxTests/PiVaultAgentPersistenceTests.swift
1121 cmuxTests/AgentHibernationTests.swift
1093 cmuxUITests/BonsplitTabDragUITests.swift
1087 Packages/macOS/CmuxCommandPalette/Sources/CmuxCommandPalette/Search/CommandPaletteFuzzyMatcher.swift
1049 cmuxTests/WorkspaceGroupTests.swift
1038 Sources/AppDelegate+CmuxSSHURL.swift
1033 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/TerminalViewportResyncTests.swift
1030 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/TerminalViewportResyncTests.swift
1021 cmuxUITests/TerminalCmdClickUITests.swift
1009 cmuxTests/CmuxTopSnapshotScopeTests.swift
1006 cmuxTests/CmuxSSHURLRequestTests.swift
1002 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/PairedMacBackupTests.swift
1000 cmuxTests/DockSocketLifecycleTests.swift
982 Packages/Shared/CmuxAgentChat/Tests/CmuxAgentChatTests/ChatConversationStoreTests.swift
974 Packages/macOS/CmuxSettingsUI/Sources/CmuxSettingsUI/Sections/AppSection.swift
951 Packages/macOS/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Workspace/ControlCommandCoordinator+Workspace.swift
951 Sources/App/TerminalDirectoryOpenSupport.swift
948 Sources/App/ShortcutRoutingSupport.swift
Expand All @@ -110,23 +109,24 @@
918 Sources/Panels/BrowserPopupWindowController.swift
905 Sources/CmuxSSHURLRequest.swift
899 Sources/Panels/MarkdownWebRenderer.swift
897 Sources/DockSplitStore.swift
896 Packages/macOS/CmuxSettingsUI/Sources/CmuxSettingsUI/Sections/AppSection.swift
885 cmuxTests/SidebarWorkspaceDropPlannerTests.swift
882 Sources/DockSplitStore.swift
871 cmuxTests/ClaudeHookSurfaceResolutionSwiftTests.swift
868 Sources/Panels/BrowserScreenshotSnapshotter.swift
864 Packages/Shared/CmuxAgentChat/Sources/CmuxAgentChat/Store/ChatConversationStore.swift
847 Sources/PricingPlansScreen.swift
847 cmuxTests/AgentSessionAutoResumeSettingsTests.swift
845 cmuxTests/SSHStartupSignalLifecycleTests.swift
841 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/TerminalOutputDeliveryQueueTests.swift
837 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/TerminalOutputDeliveryQueueTests.swift
834 Sources/MainWindowFocusController.swift
830 Sources/TaskManagerTypes.swift
825 Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/TerminalComposerView.swift
822 Sources/WorkspaceContentView.swift
810 Packages/macOS/CmuxSwiftRender/Tests/CmuxSwiftRenderTests/SwiftViewInterpreterTests.swift
803 Packages/iOS/CmuxMobilePairedMac/Sources/CmuxMobilePairedMac/MobilePairedMacStore.swift
802 Sources/TerminalController+ControlPaneContext.swift
801 Sources/ClosedItemHistory.swift
799 Sources/ClosedItemHistory.swift
779 cmuxUITests/BrowserOmnibarSuggestionsUITests.swift
773 Sources/App/MenuBarExtraController.swift
769 Packages/macOS/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface+Input.swift
Expand All @@ -139,19 +139,19 @@
752 cmuxUITests/CloseWorkspaceCmdDUITests.swift
749 cmuxTests/UpdatePillReleaseVisibilityTests.swift
738 Packages/macOS/CMUXProjectModel/Sources/CMUXProjectModel/XcodeProjectAdapter.swift
717 Packages/Shared/CmuxAuthRuntime/Sources/CmuxAuthRuntime/Coordinator/AuthCoordinator.swift
724 Packages/Shared/CmuxAuthRuntime/Sources/CmuxAuthRuntime/Coordinator/AuthCoordinator.swift
716 Sources/TaskManagerSnapshot.swift
714 Sources/AppleScriptSupport.swift
710 Sources/TerminalSSHSessionDetector.swift
709 Packages/macOS/CmuxFoundation/Sources/CmuxFoundation/SidebarDrop/SidebarWorkspaceReorderDropResolver.swift
706 CLI/CMUXCLI+Config.swift
699 cmuxTests/TerminalNotificationClearAllTests.swift
698 cmuxTests/RestorableAgentHookProviderResumeTests.swift
696 Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/WorkspaceDetailView.swift
696 cmuxTests/KeyboardShortcutContextTests.swift
691 Sources/NotificationSoundSettings.swift
691 cmuxTests/TaskManagerResourcesTests.swift
690 cmuxTests/SessionIndexViewTests.swift
686 Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/WorkspaceDetailView.swift
683 Packages/macOS/CmuxSwiftRender/Sources/CmuxSwiftRender/SwiftViewInterpreter.swift
683 Sources/Panels/CodexAppServerSession.swift
681 Sources/Panels/AgentSessionProcessStore.swift
Expand All @@ -166,33 +166,31 @@
664 Sources/CmuxTopSnapshot.swift
663 Sources/PortScanner.swift
661 Packages/macOS/CmuxRemoteSession/Sources/CmuxRemoteSession/Session/RemoteSessionCoordinator.swift
660 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/MobileShellRenderGridInputCatchUpTests.swift
655 Packages/macOS/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface+RuntimeLifecycle.swift
657 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/MobileShellRenderGridInputCatchUpTests.swift
654 Packages/macOS/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface+RuntimeLifecycle.swift
653 Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/WorkspaceListView.swift
650 Packages/macOS/CmuxBrowser/Sources/CmuxBrowser/Import/Detection/BrowserInstalledBrowserDetector.swift
650 Sources/Panels/MarkdownRemoteImageLoader.swift
648 cmuxTests/TerminalNotificationQueueTests.swift
646 Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/WorkspaceListView.swift
644 Packages/macOS/CMUXAgentLaunch/Tests/CMUXAgentLaunchTests/AgentLaunchSanitizerTests.swift
642 cmuxTests/RemoteTmuxControlParserTests.swift
641 cmuxTests/CommandPaletteNucleoFFITests.swift
638 cmuxTests/RemoteTmuxControlParserTests.swift
637 Packages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/MobileShellRenderGridLivenessTestSupport.swift
635 Sources/Panels/BrowserNavigationDelegate.swift
635 cmuxUITests/RightSidebarChromeHeightUITests.swift
630 Packages/macOS/CmuxSettings/Sources/CmuxSettings/Values/ShortcutWhenClause.swift
626 Sources/SettingsNavigation.swift
624 Sources/SettingsNavigation.swift
623 Packages/macOS/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Surface/ControlCommandCoordinator+Surface.swift
633 Sources/Panels/BrowserNavigationDelegate.swift
620 cmuxTests/FinderFileDropRegressionTests.swift
608 Sources/TextBoxSubmitActions.swift
608 cmuxUITests/FeedSidebarUITests.swift
607 Packages/macOS/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface.swift
607 Sources/SessionIndexModels.swift
607 Sources/SleepyFaceView.swift
606 Packages/macOS/CmuxTerminal/Sources/CmuxTerminal/Surface/TerminalSurface.swift
604 Packages/macOS/CmuxCommandPalette/Tests/CmuxCommandPaletteTests/CommandPaletteNucleoFFITests.swift
601 Packages/macOS/CMUXAgentLaunch/Sources/CMUXAgentLaunch/AgentLaunchSanitizerPrimaryPolicies.swift
601 Packages/macOS/CmuxWorkspaces/Sources/CmuxWorkspaces/Coordinators/WorkspaceReorderCoordinator.swift
598 Packages/macOS/CMUXAgentLaunch/Sources/CMUXAgentLaunch/AgentLaunchSanitizer.swift
596 cmuxTests/CmuxEventBusTests.swift
594 cmuxTests/PortalTabDragRoutingTests.swift
592 Sources/TextBoxSubmitActions.swift
591 Packages/macOS/CmuxSettingsUI/Tests/CmuxSettingsUITests/DefaultsValueModelLifecycleTests.swift
591 cmuxTests/CmuxConfigContextMenuTests.swift
588 cmuxTests/CommandPaletteShortcutCustomizationTests.swift
Expand Down Expand Up @@ -228,11 +226,11 @@
538 Sources/TerminalController+ControlSurfaceContext2.swift
535 Sources/App/WorkspaceRuntimeSettings.swift
533 Packages/macOS/CmuxSettingsUI/Sources/CmuxSettingsUI/Scene/SettingsWindowScene.swift
529 Packages/macOS/CMUXAgentLaunch/Sources/CMUXAgentLaunch/AgentLaunchSanitizerPrimaryPolicies.swift
528 cmuxUITests/AutomationSocketUITests.swift
527 CLI/CLISocketPathResolver.swift
527 cmuxTests/BrowserHTTPBasicAuthPromptTests.swift
526 Packages/macOS/CMUXAgentLaunch/Sources/CMUXAgentLaunch/Workstream/WorkstreamStore.swift
526 Sources/BrowserPaneDropTargetView.swift
525 Packages/macOS/CmuxSettings/Sources/CmuxSettings/SocketControl/SocketControlSettings.swift
524 CLI/CMUXCLI+AutoNaming.swift
522 Sources/TerminalPaneDropTargetView.swift
Expand All @@ -246,12 +244,10 @@
514 Packages/macOS/CmuxSwiftRender/Sources/CmuxSwiftRender/ExpressionEvaluator.swift
514 cmuxUITests/UpdatePillUITests.swift
511 Packages/macOS/CmuxControlSocket/Sources/CmuxControlSocket/Coordinator/Sidebar/ControlCommandCoordinator+SidebarReportsV1.swift
511 Sources/AppDelegate+AgentChat.swift
509 Packages/macOS/CMUXAgentLaunch/Sources/CMUXAgentLaunch/AgentLaunchSanitizerAdditionalPolicies.swift
508 Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/GhosttySurfaceRepresentable.swift
507 Sources/TerminalControllerTopSupport.swift
506 Packages/iOS/CmuxAgentChatUI/Sources/CmuxAgentChatUI/Transcript/ChatTranscriptTableView.swift
506 Packages/macOS/CmuxRemoteWorkspace/Sources/CmuxRemoteWorkspace/PTYBridge/RemotePTYBridgeSession.swift
506 Sources/App/MainWindowVisibilityController.swift
504 Packages/macOS/CmuxSettings/Tests/CmuxSettingsTests/UserDefaultsSettingsStoreTests.swift
504 cmuxTests/TerminalNotificationSocketActionTests.swift
Expand Down
1 change: 0 additions & 1 deletion CLI/CMUXCLI+CommandSuggestions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ extension CMUXCLI {
"swap-pane",
"tab-action",
"themes",
"todo",
"top",
"tree",
"trigger-flash",
Expand Down
Loading
Loading