Move update view model to AppDelegate

Unlisted
Move the update view model data to AppDelegate since the update information will be app-global.

Perfect! The build succeeded. Let me create a summary of the changes:

Summary

I've successfully moved the update view model data from TerminalWindow to AppDelegate to make it app-global. Here's what was changed:

Changes Made:

  1. AppDelegate.swift

    • Added @Published private(set) var updateUIModel = UpdateViewModel() to make it a global, observable property
  2. [TerminalWindow.swift](file:///Users/mitchellh/Documents/ghostty/macos/Sources/Features/Terminal/Window Styles/TerminalWindow.swift#L19)

    • Removed the instance-level updateUIModel property
    • Updated the update accessory view initialization to use appDelegate.updateUIModel instead
    • Refactored createUpdateActions() to access the model via AppDelegate instead of self
  3. AppDelegate.swift checkForUpdates method

    • Simplified to use the app-global updateUIModel directly instead of getting it from the terminal window

The update information is now app-global and shared across all windows, which makes sense since updates affect the entire application.