aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-daemon/proto
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2026-02-13 11:37:58 -0800
committerGitHub <noreply@github.com>2026-02-13 11:37:58 -0800
commitd52c4d6003adced1f6763261a7f9132719be5533 (patch)
tree94d2f7c815814135edbc2ee0af56d2cedd1a1724 /crates/atuin-daemon/proto
parentfeat: add Atuin AI inline CLI MVP (#3178) (diff)
downloadatuin-d52c4d6003adced1f6763261a7f9132719be5533.zip
feat: add autostart and pid management to daemon (#3180)
Diffstat (limited to 'crates/atuin-daemon/proto')
-rw-r--r--crates/atuin-daemon/proto/history.proto21
1 files changed, 21 insertions, 0 deletions
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);
}