Skip to content

Commit c70ee37

Browse files
committed
fix(server): make agent awareness event switch exhaustive
1 parent 669697e commit c70ee37

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎apps/server/src/relay/AgentAwarenessRelay.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,16 @@ function shouldPublishAgentAwarenessEvent(
126126
return isTurnItemPayload(event.payload) && turnItemUpdateCanEndBackgroundWork(event.payload);
127127
case "message.updated":
128128
case "plan.updated":
129+
case "artifact.updated":
129130
case "checkpoint-scope.created":
130131
case "checkpoint.captured":
131132
case "checkpoint.rollback-requested":
132133
case "context-handoff.updated":
133134
case "context-transfer.created":
134135
case "context-transfer.updated":
135136
return false;
137+
default:
138+
return false;
136139
}
137140
}
138141

0 commit comments

Comments
 (0)