Fix browser move and zsh bootstrap regressions

This commit is contained in:
Lawrence Chen 2026-03-13 21:04:48 -07:00
parent 902ee03019
commit ca4f4b7c69
5 changed files with 227 additions and 21 deletions

View file

@ -6995,9 +6995,13 @@ final class Workspace: Identifiable, ObservableObject {
if let terminalPanel = detached.panel as? TerminalPanel {
terminalPanel.updateWorkspaceId(id)
} else if let browserPanel = detached.panel as? BrowserPanel {
browserPanel.updateWorkspaceId(id)
browserPanel.setRemoteProxyEndpoint(remoteProxyEndpoint)
browserPanel.setRemoteWorkspaceStatus(browserRemoteWorkspaceStatusSnapshot())
browserPanel.reattachToWorkspace(
id,
isRemoteWorkspace: isRemoteWorkspace,
remoteWebsiteDataStoreIdentifier: isRemoteWorkspace ? id : nil,
proxyEndpoint: remoteProxyEndpoint,
remoteStatus: browserRemoteWorkspaceStatusSnapshot()
)
installBrowserPanelSubscription(browserPanel)
}