Skip to main content

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