feat(ecoos-daemon): integrate a bundled daemon web UI with components, interfaces, styles, bundling config, and server support

This commit is contained in:
2026-01-12 01:51:22 +00:00
parent b9b7f2b4a3
commit 140ce716f2
21 changed files with 6123 additions and 668 deletions

View File

@@ -0,0 +1,32 @@
/**
* Update interfaces - API contracts for update/upgrade system
*/
export interface IRelease {
version: string;
tagName: string;
publishedAt: Date;
downloadUrl: string;
isCurrent: boolean;
isNewer: boolean;
ageHours: number;
}
export interface IAutoUpgradeStatus {
enabled: boolean;
targetVersion: string | null;
scheduledIn: string | null;
waitingForStability: boolean;
}
export interface IUpdateInfo {
currentVersion: string;
releases: IRelease[];
autoUpgrade: IAutoUpgradeStatus;
lastCheck: string | null;
}
export interface IUpgradeResult {
success: boolean;
message: string;
}