From d52c4d6003adced1f6763261a7f9132719be5533 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Fri, 13 Feb 2026 11:37:58 -0800 Subject: feat: add autostart and pid management to daemon (#3180) --- crates/atuin-daemon/proto/history.proto | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'crates/atuin-daemon/proto') diff --git a/crates/atuin-daemon/proto/history.proto b/crates/atuin-daemon/proto/history.proto index 1172b91b..9fbd3372 100644 --- a/crates/atuin-daemon/proto/history.proto +++ b/crates/atuin-daemon/proto/history.proto @@ -18,14 +18,35 @@ message EndHistoryRequest { message StartHistoryReply { string id = 1; + string version = 2; + uint32 protocol = 3; } message EndHistoryReply { string id = 1; uint64 idx = 2; + string version = 3; + uint32 protocol = 4; +} + +message StatusRequest {} + +message StatusReply { + bool healthy = 1; + string version = 2; + uint32 pid = 3; + uint32 protocol = 4; +} + +message ShutdownRequest {} + +message ShutdownReply { + bool accepted = 1; } service History { rpc StartHistory(StartHistoryRequest) returns (StartHistoryReply); rpc EndHistory(EndHistoryRequest) returns (EndHistoryReply); + rpc Status(StatusRequest) returns (StatusReply); + rpc Shutdown(ShutdownRequest) returns (ShutdownReply); } -- cgit v1.3.1