Method::NotifyとEvent::Notificationが紛らわしい問題

This commit is contained in:
2026-04-26 23:25:50 +09:00
parent 82f08b966b
commit 2ee536ed71
18 changed files with 461 additions and 377 deletions
+4 -4
View File
@@ -7,7 +7,7 @@
#![allow(dead_code)] // Phase 5 will consume `output` in detail mode.
use protocol::{Greeting, NotificationLevel, NotificationSource};
use protocol::{Greeting, AlertLevel, AlertSource};
pub enum Block {
Greeting(Greeting),
@@ -21,9 +21,9 @@ pub enum Block {
text: String,
},
ToolCall(ToolCallBlock),
Notification {
level: NotificationLevel,
source: NotificationSource,
Alert {
level: AlertLevel,
source: AlertSource,
message: String,
},
Compact(CompactEvent),