CI : Update agent from web
Some checks failed
release / build (push) Successful in 27s
release / verify-windows (push) Failing after 59s

This commit is contained in:
jeanotx32
2026-08-11 20:16:08 +02:00
parent 4f7b8f56ae
commit 6916ff4be3
8 changed files with 217 additions and 9 deletions

View File

@@ -45,6 +45,7 @@ export const AGENT_ACTIONS = [
'recordDirectory.set',
'watch.check',
'hotkey.fullscreen',
'agent.update',
'agent.ping',
] as const;
@@ -198,6 +199,15 @@ export interface AgentStatus {
/** Surveillance du stream source, absente si elle n'est pas configurée. */
watch?: WatchState;
/**
* Empreinte courte du binaire en cours d'exécution. Deux agents partageant
* cette valeur tournent sur le même build — c'est ce qui rend visible un
* agent resté en arrière après une mise à jour.
*/
buildId?: string;
/** Vrai si l'agent sait se mettre à jour seul (URL de paquet connue). */
canSelfUpdate?: boolean;
updatedAt: number;
}