aboutsummaryrefslogtreecommitdiffstats
path: root/crates/daemon/src/generated.rs
blob: 6620e94c527e0264f88b156410cd2fcfb1aac4d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#![expect(
    unreachable_pub,
    unused_qualifications,
    clippy::doc_markdown,
    clippy::default_trait_access,
    clippy::too_many_lines,
    clippy::trivially_copy_pass_by_ref,
    clippy::allow_attributes,
    clippy::derive_partial_eq_without_eq,
    reason = "All of these lints are triggered by the generated code"
)]

/// Semantic command capture gRPC service types.
pub mod semantic {
    tonic::include_proto!("semantic");
}

/// Search module for the daemon gRPC search service.
///
/// This module provides fuzzy search over command history using Nucleo.
pub mod search {
    // Include the generated proto code
    tonic::include_proto!("search");
}

/// History module for the daemon gRPC history service.
///
/// This module contains the proto-generated types for the history gRPC service.
pub mod history {
    // Include the generated proto code
    tonic::include_proto!("history");
}

/// Control module for external event injection.
///
/// This module provides the gRPC service that allows external processes
/// (like CLI commands) to inject events into the daemon's event bus.
pub mod control {
    // Include the generated proto code
    tonic::include_proto!("control");

    // Re-export the service
    pub use crate::control::ControlService;
}