Add native self-hosted instance connection to fluxer_desktop
Trimmed monorepo checkout (fluxer_desktop + packages/voice_engine_v2 + tools/ci) with a "Connect to a Different Server" menu item and popout that lets the desktop app switch to any self-hosted Fluxer instance, plus fixes for well-known discovery on single-domain self-hosted deployments and a false-positive ERR_ABORTED on same-origin client redirects during the switch. Defaults to chat.fluxr.chat and uses an isolated userData directory from the official build.
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
export type PlatformGpuInfoSource = 'metal' | 'dxgi' | 'linux-sysfs';
|
||||
|
||||
export interface PlatformGpuDeviceInfo {
|
||||
active: boolean;
|
||||
vendorId: number;
|
||||
deviceId: number;
|
||||
vendorName?: string;
|
||||
deviceString?: string;
|
||||
driverVendor?: string;
|
||||
driverVersion?: string;
|
||||
dedicatedVideoMemory?: number;
|
||||
sharedSystemMemory?: number;
|
||||
subsystemVendorId?: number;
|
||||
subsystemDeviceId?: number;
|
||||
registryId?: string;
|
||||
adapterLuid?: string;
|
||||
pciPath?: string;
|
||||
integrated?: boolean;
|
||||
removable?: boolean;
|
||||
headless?: boolean;
|
||||
source: PlatformGpuInfoSource;
|
||||
}
|
||||
|
||||
export interface PlatformGpuInfo {
|
||||
devices: ReadonlyArray<PlatformGpuDeviceInfo>;
|
||||
source: PlatformGpuInfoSource;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
export declare const getGpuInfo: (() => PlatformGpuInfo) | null;
|
||||
export declare const loadError: Error | null;
|
||||
Reference in New Issue
Block a user