diff options
| author | Michelle Tilley <michelle@michelletilley.net> | 2026-06-08 09:12:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-08 09:12:45 -0700 |
| commit | bcdf8c8cde31e826000f1b2d6eeaebdd865a07c1 (patch) | |
| tree | f62f66e4dede22ce73ea5dafe69881d6af9b3101 /crates/atuin-daemon/src/server.rs | |
| parent | chore(deps): bump debian from bookworm-20260421-slim to bookworm-20260518-sli... (diff) | |
| download | atuin-bcdf8c8cde31e826000f1b2d6eeaebdd865a07c1.zip | |
feat: Capture command output + expose to new `atuin_output` tool (#3510)
Diffstat (limited to 'crates/atuin-daemon/src/server.rs')
| -rw-r--r-- | crates/atuin-daemon/src/server.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/atuin-daemon/src/server.rs b/crates/atuin-daemon/src/server.rs index a11de612..b823cff2 100644 --- a/crates/atuin-daemon/src/server.rs +++ b/crates/atuin-daemon/src/server.rs @@ -2,10 +2,12 @@ use eyre::Result; use crate::components::history::HistoryGrpcService; use crate::components::search::SearchGrpcService; +use crate::components::semantic::SemanticGrpcService; use crate::control::{ControlService, control_server::ControlServer}; use crate::daemon::DaemonHandle; use crate::history::history_server::HistoryServer; use crate::search::search_server::SearchServer; +use crate::semantic::semantic_server::SemanticServer; use atuin_client::settings::Settings; @@ -18,6 +20,7 @@ pub async fn run_grpc_server( settings: Settings, history_service: HistoryServer<HistoryGrpcService>, search_service: SearchServer<SearchGrpcService>, + semantic_service: SemanticServer<SemanticGrpcService>, control_service: ControlServer<ControlService>, handle: DaemonHandle, ) -> Result<()> { @@ -101,6 +104,7 @@ pub async fn run_grpc_server( if let Err(e) = Server::builder() .add_service(history_service) .add_service(search_service) + .add_service(semantic_service) .add_service(control_service) .serve_with_incoming_shutdown(uds_stream, shutdown_signal) .await @@ -118,6 +122,7 @@ pub async fn run_grpc_server( settings: Settings, history_service: HistoryServer<HistoryGrpcService>, search_service: SearchServer<SearchGrpcService>, + semantic_service: SemanticServer<SemanticGrpcService>, control_service: ControlServer<ControlService>, handle: DaemonHandle, ) -> Result<()> { @@ -152,6 +157,7 @@ pub async fn run_grpc_server( if let Err(e) = Server::builder() .add_service(history_service) .add_service(search_service) + .add_service(semantic_service) .add_service(control_service) .serve_with_incoming_shutdown(tcp_stream, shutdown_signal) .await |
