chore: temp event handlers
This commit is contained in:
parent
24ba6d5827
commit
1defe461be
1 changed files with 9 additions and 0 deletions
|
|
@ -109,6 +109,15 @@ export function createAgentManagerRuntime(onEvent: (event: AgentManagerEvent) =>
|
||||||
case "agent.disconnected": {
|
case "agent.disconnected": {
|
||||||
return Effect.sync(() => onEvent({ type: "agent.disconnected", agentId, agentName }));
|
return Effect.sync(() => onEvent({ type: "agent.disconnected", agentId, agentName }));
|
||||||
}
|
}
|
||||||
|
case "restore.cancelled":
|
||||||
|
case "restore.completed":
|
||||||
|
case "restore.failed":
|
||||||
|
case "restore.progress":
|
||||||
|
case "restore.started": {
|
||||||
|
// TODO: once we implement the app side
|
||||||
|
return Effect.void;
|
||||||
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
return Effect.sync(() => onEvent({ ...event, agentId, agentName }));
|
return Effect.sync(() => onEvent({ ...event, agentId, agentName }));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue