kanade_shared/lib.rs
1pub mod boot_sentinel;
2pub mod bootstrap;
3pub mod check_eval;
4pub mod config;
5pub mod default_paths;
6pub mod exe_version;
7pub mod feature;
8pub mod ipc;
9pub mod kv;
10pub mod kv_cas;
11pub mod manifest;
12pub mod nats_client;
13pub mod secrets;
14pub mod strict;
15pub mod subject;
16pub mod wire;
17
18pub use wire::{
19 Command, DiskInfo, ExecResult, Heartbeat, HostPerf, HwInventory, ProcessPerf, ProcessSnapshot,
20 Shell,
21};
22
23/// Built-in fallback product name the end-user Client App shows when no
24/// operator has configured `agent_config.client_display_name`.
25///
26/// Single source of truth for the Rust side: the client (`kanade-client`
27/// `app.rs` window title / header) and the agent (`kanade-agent`
28/// `client_shortcut` Start-Menu label) both alias this so the two can't
29/// drift. The WebView (`web/src/main.ts`) and `index.html` carry the same
30/// literal independently — they can't reference a Rust const — so an edit
31/// here must be mirrored there too (their comments point back to this).
32/// The client UI is Japanese-only (no i18n), so the default is Japanese;
33/// English-speaking fleets override it via the backend config.
34pub const DEFAULT_CLIENT_DISPLAY_NAME: &str = "端末管理支援ツール";