aboutsummaryrefslogtreecommitdiffstats
path: root/crates/atuin-daemon/proto/semantic.proto
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-11 00:54:30 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-11 00:54:30 +0200
commit5c39e7cf284a1f6e9a1657f2deb44e359fc47eb8 (patch)
treec64baa8d5866c8e339eaf660dd3f94f30a3f7d8a /crates/atuin-daemon/proto/semantic.proto
parentchore: Somewhat simplify sync code (diff)
downloadatuin-5c39e7cf284a1f6e9a1657f2deb44e359fc47eb8.zip
chore: Move everything into one big crate
That helps remove duplicated code and rustc/cargo will now also show dead code correctly.
Diffstat (limited to 'crates/atuin-daemon/proto/semantic.proto')
-rw-r--r--crates/atuin-daemon/proto/semantic.proto47
1 files changed, 0 insertions, 47 deletions
diff --git a/crates/atuin-daemon/proto/semantic.proto b/crates/atuin-daemon/proto/semantic.proto
deleted file mode 100644
index 07e550c8..00000000
--- a/crates/atuin-daemon/proto/semantic.proto
+++ /dev/null
@@ -1,47 +0,0 @@
-syntax = "proto3";
-package semantic;
-
-service Semantic {
- rpc RecordCommands(stream CommandCapture) returns (RecordCommandsReply);
- rpc CommandOutput(CommandOutputRequest) returns (CommandOutputReply);
-}
-
-message CommandCapture {
- string prompt = 1;
- string command = 2;
- string output = 3;
- optional int32 exit_code = 4;
- optional string history_id = 5;
- optional string session_id = 6;
- bool output_truncated = 7;
- uint64 output_observed_bytes = 8;
-}
-
-message RecordCommandsReply {
- uint64 accepted = 1;
-}
-
-message CommandOutputRequest {
- string history_id = 1;
- repeated OutputRange ranges = 2;
-}
-
-message OutputRange {
- int64 start = 1;
- int64 end = 2;
-}
-
-message OutputLine {
- uint64 line_number = 1;
- string content = 2;
-}
-
-message CommandOutputReply {
- bool found = 1;
- string output = 2;
- uint64 total_bytes = 3;
- uint64 total_lines = 4;
- repeated OutputLine lines = 5;
- bool output_truncated = 6;
- uint64 output_observed_bytes = 7;
-}