M9: lens block, ctrl-p picker, /resume, wide side panel
ci / check (push) Canceled after 0s
ci / check (pull_request) Canceled after 0s

Closes #78, closes #82, closes #83
This commit is contained in:
hermes committed 2026-10-01 09:16:59 +00:00
1 parent b3960a09ed
commit d7aeaf0bb9
11 files changed
+604 -24

No files matched your search

+4
View File
@@ -31,6 +31,8 @@ pub enum Event {
Message(Message),
/// Human-readable notice for the UI (compaction etc).
Info(String),
/// Text hooks injected at turn/agent end (lens reports etc), for display.
Injected(Vec<String>),
}
impl Event {
@@ -56,6 +58,7 @@ impl Event {
Event::Stream(e) => json!({"type": "stream", "event": e}),
Event::Message(m) => json!({"type": "message", "message": m}),
Event::Info(t) => json!({"type": "info", "text": t}),
Event::Injected(t) => json!({"type": "injected", "texts": t}),
}
}
@@ -71,6 +74,7 @@ impl Event {
Event::Stream(_) => "stream",
Event::Message(_) => "message",
Event::Info(_) => "info",
Event::Injected(_) => "injected",
}
}
}