()
| 1772 | } |
| 1773 | |
| 1774 | function isRemoteWorkspaceActive(): boolean { |
| 1775 | const win = currentIpcWindow() |
| 1776 | if (win && !windowVaults.isRemoteWindow(win.id)) return false |
| 1777 | return remoteWorkspaceClient != null && (win ? true : currentWorkspaceMode === 'remote') |
| 1778 | } |
| 1779 | |
| 1780 | function requireRemoteWorkspaceClient(): RemoteServerClient { |
| 1781 | if (!isRemoteWorkspaceActive() || !remoteWorkspaceClient) { |
no test coverage detected