feat: load plugin frontends at runtime and remove plugin ids from the shell

This commit is contained in:
LukeGus committed 2026-09-22 20:15:52 -05:00
1 parent 49f0286a14
commit e88d5a52e3
721 files changed
+54265 -44416

No files matched your search

+3 -18
View File
@@ -13,15 +13,8 @@ export interface UptimeInfo {
export interface RecentActivityItem {
id: number;
userId: string;
type:
| "terminal"
| "file_manager"
| "server_stats"
| "tunnel"
| "docker"
| "telnet"
| "vnc"
| "rdp";
/** Core records file_manager and tunnel; plugin tabs record their own. */
type: string;
hostId: number;
hostName: string;
timestamp: string;
@@ -50,15 +43,7 @@ export async function getRecentActivity(
}
export async function logActivity(
type:
| "terminal"
| "file_manager"
| "server_stats"
| "tunnel"
| "docker"
| "rdp"
| "vnc"
| "telnet",
type: string,
hostId: number,
hostName: string,
): Promise<{ message: string; id: number | string }> {