aboutsummaryrefslogtreecommitdiffstats
path: root/crates/daemon/src/generated.rs
blob: 9deb4e0cfb275338e7b90d21011c90edee8a74cc (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
#![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(crate) mod semantic {
    tonic::include_proto!("semantic");
}

/// History module for the daemon gRPC history service.
///
/// This module contains the proto-generated types for the history gRPC service.
pub(crate) 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(crate) mod control {
    // Include the generated proto code
    tonic::include_proto!("control");

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