Skip to main content

kanade_shared/
lib.rs

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