feat: apply baseos target state

This commit is contained in:
2026-05-07 20:33:14 +00:00
parent e49591c9c8
commit 27a5f6ffd8
6 changed files with 115 additions and 3 deletions
+6
View File
@@ -15,11 +15,16 @@ export interface IBaseRunnerConfig {
heartbeatIntervalMs: number;
supervisorAddress?: string;
supervisorApiKey?: string;
preloadTargetStatePath?: string;
}
export interface IBaseRunnerState {
nodeId: string;
nodeToken?: string;
lastTargetStateHash?: string;
lastTargetStateAppliedAt?: number;
lastRelease?: string;
lastReleaseUpdateTriggeredAt?: number;
createdAt: number;
updatedAt: number;
}
@@ -73,6 +78,7 @@ export interface ICloudlyRegisterResult {
nodeToken?: string;
accepted: boolean;
message?: string;
desiredState?: IBaseOsDesiredState;
}
export interface ICloudlyHeartbeatResult {