From 6bd2b80be51a8623640fbd77afa1da09289e40cc Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 20 Jul 2026 17:54:34 +0200 Subject: chore: All compiles --- crates/daemon/proto/history.proto | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'crates/daemon/proto/history.proto') diff --git a/crates/daemon/proto/history.proto b/crates/daemon/proto/history.proto index 46a41a5e..850b16b9 100644 --- a/crates/daemon/proto/history.proto +++ b/crates/daemon/proto/history.proto @@ -4,7 +4,11 @@ package history; service History { rpc StartHistory(StartHistoryRequest) returns (StartHistoryReply); rpc EndHistory(EndHistoryRequest) returns (EndHistoryReply); + rpc TailHistory(TailHistoryRequest) returns (stream TailHistoryReply); + + // Request history from the daemon + rpc History(HistoryRequest) returns (HistoryReply); } message StartHistoryRequest { @@ -59,3 +63,16 @@ message HistoryEntry { int64 exit = 9; int64 duration = 10; } + +message Range { + uint64 start = 1; + uint64 end = 2; +} + +message HistoryRequest { + string session = 1; + optional Range range = 2; +} +message HistoryReply { + repeated HistoryEntry entries = 1; +} -- cgit v1.3.1