feat: General bug fixes, added server stat commands, improved split screen, link accounts, etc

This commit is contained in:
LukeGus
2025-11-12 00:58:02 -06:00
parent 26b71c0b69
commit 8028e5d7cb
34 changed files with 1724 additions and 588 deletions

View File

@@ -9,6 +9,11 @@ export interface JumpHost {
hostId: number;
}
export interface QuickAction {
name: string;
snippetId: number;
}
export interface SSHHost {
id: number;
name: string;
@@ -38,6 +43,7 @@ export interface SSHHost {
defaultPath: string;
tunnelConnections: TunnelConnection[];
jumpHosts?: JumpHost[];
quickActions?: QuickAction[];
statsConfig?: string;
terminalConfig?: TerminalConfig;
createdAt: string;
@@ -48,6 +54,11 @@ export interface JumpHostData {
hostId: number;
}
export interface QuickActionData {
name: string;
snippetId: number;
}
export interface SSHHostData {
name?: string;
ip: string;
@@ -70,6 +81,7 @@ export interface SSHHostData {
forceKeyboardInteractive?: boolean;
tunnelConnections?: TunnelConnection[];
jumpHosts?: JumpHostData[];
quickActions?: QuickActionData[];
statsConfig?: string | Record<string, unknown>;
terminalConfig?: TerminalConfig;
}
@@ -317,6 +329,22 @@ export interface TabContextTab {
initialTab?: string;
}
// Split Screen Layout Types
export type SplitLayout = "2h" | "2v" | "3l" | "3r" | "3t" | "4grid";
export interface SplitConfiguration {
layout: SplitLayout;
positions: Map<number, number>; // position index -> tab ID
}
export interface SplitLayoutOption {
id: SplitLayout;
name: string;
description: string;
cellCount: number;
icon: string; // lucide icon name
}
// ============================================================================
// CONNECTION STATES
// ============================================================================