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