Leave unrelated chat files as main formats them

This commit is contained in:
2026-11-10 15:26:54 +00:00
parent cdd54c113c
commit e059e58caf
8 changed files with 59 additions and 63 deletions
@@ -39,10 +39,11 @@ void main() {
});
test('only visible assistant reply text is unread', () {
bool attention(Map<String, Object?> event) => chatSessionFrameEffect({
'type': 'chat_event',
'chat_event': {'session_id': 's', ...event},
})!.attention;
bool attention(Map<String, Object?> event) =>
chatSessionFrameEffect({
'type': 'chat_event',
'chat_event': {'session_id': 's', ...event},
})!.attention;
for (final status in ['running', 'completed', 'error']) {
expect(
attention({
@@ -66,7 +67,11 @@ void main() {
expect(attention({'kind': 'text', 'delta': ' \n'}), isFalse);
for (final messageKind in ['notice', 'agent_report']) {
expect(
attention({'kind': 'text', 'delta': 'x', 'message_kind': messageKind}),
attention({
'kind': 'text',
'delta': 'x',
'message_kind': messageKind,
}),
isFalse,
);
}