Skip to main content

kanade_shared/
lib.rs

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