Skip to content

refactor: extract main window context model - #76

Closed
teamleaderleo wants to merge 1 commit into
refactor/main-window-registry-indexfrom
refactor/main-window-context-model
Closed

teamleaderleo wants to merge 1 commit into
refactor/main-window-registry-indexfrom
refactor/main-window-context-model

Conversation

@teamleaderleo

Copy link
Copy Markdown
Owner

Summary

Move the nested AppDelegate.MainWindowContext model into its own top-level CmuxMainWindowContext file. Keep the nested typealias so existing extensions, tests, and call sites remain source-compatible while the model gains an independent ownership boundary.

Validation

  • git diff --check
  • xcrun swiftc -frontend -parse across the context, registry, AppDelegate, Dock extension, and test support files
  • scripts/check-pbxproj.sh

Full Xcode build is currently blocked because this worktree does not contain vendor/bonsplit/Package.swift.

@teamleaderleo

Copy link
Copy Markdown
Owner Author

Consolidated into the coherent upstream slices #78 (UI-test infrastructure), #79 (session lifecycle), #80 (window ownership), and #82 (terminal diagnostics). The original branch remains available for history.

@teamleaderleo
teamleaderleo deleted the refactor/main-window-context-model branch September 23, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant