aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/proto/history.proto
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-23 23:54:25 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-23 23:54:25 +0200
commit106dca20fef667ef4605528d51c2b9968731242a (patch)
tree2c422d17434311022dc52ea2d98f1245b9af560d /crates/turtle/proto/history.proto
parentCargo.toml: 20.0.0 -> 20.0.1 (diff)
downloadatuin-106dca20fef667ef4605528d51c2b9968731242a.zip
daemon/api: Remove `add_history`
This request is a footgun, as it will leave commands that never return (e.g. `shutdown`, `exit`, etc.) unrecorded.
Diffstat (limited to '')
-rw-r--r--crates/turtle/proto/history.proto7
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/turtle/proto/history.proto b/crates/turtle/proto/history.proto
index 90fcf55f..c6bdd99b 100644
--- a/crates/turtle/proto/history.proto
+++ b/crates/turtle/proto/history.proto
@@ -4,7 +4,6 @@ package history;
service History {
rpc StartHistory(StartHistoryRequest) returns (StartHistoryReply);
rpc EndHistory(EndHistoryRequest) returns (EndHistoryReply);
- rpc AddHistory(AddHistoryRequest) returns (EndHistoryReply);
rpc TailHistory(TailHistoryRequest) returns (stream TailHistoryReply);
@@ -12,12 +11,6 @@ service History {
rpc History(HistoryRequest) returns (HistoryReply);
}
-message AddHistoryRequest {
- StartHistoryRequest start = 1;
- int64 exit = 2;
- Duration duration = 3;
-}
-
message StartHistoryRequest {
Timestamp timestamp = 1;
string command = 2;