Rename binary to agent-orchestrator, add splash screen, fix white flash

- Rename Cargo package from bterminal to agent-orchestrator so WM_CLASS
  matches desktop entry and taskbar groups correctly
- Update lib name (agent_orchestrator_lib) and telemetry service name
- Add Pandora's Box splash screen with progress steps during startup
- Prevent white window flash with inline CSS and Tauri backgroundColor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
DexterFromLab 2026-03-12 12:09:18 +01:00
parent 79e13649a1
commit adde8462ef
9 changed files with 213 additions and 49 deletions

View file

@ -1,5 +1,5 @@
[package]
name = "bterminal"
name = "agent-orchestrator"
version = "0.1.0"
description = "Multi-session Claude agent dashboard"
authors = ["DexterFromLab"]
@ -10,7 +10,7 @@ rust-version = "1.77.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "bterminal_lib"
name = "agent_orchestrator_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]

View file

@ -2,5 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
bterminal_lib::run();
agent_orchestrator_lib::run();
}

View file

@ -28,7 +28,7 @@ impl Drop for TelemetryGuard {
/// Call once at app startup, before any tracing macros fire.
pub fn init() -> TelemetryGuard {
let filter = EnvFilter::try_from_default_env()
.unwrap_or_else(|_| EnvFilter::new("bterminal=info,bterminal_lib=info,bterminal_core=info"));
.unwrap_or_else(|_| EnvFilter::new("agent_orchestrator=info,agent_orchestrator_lib=info,bterminal_core=info"));
let fmt_layer = tracing_subscriber::fmt::layer()
.with_target(true)
@ -42,7 +42,7 @@ pub fn init() -> TelemetryGuard {
match build_otlp_provider(&endpoint) {
Ok(provider) => {
let otel_layer = tracing_opentelemetry::layer()
.with_tracer(provider.tracer("bterminal"));
.with_tracer(provider.tracer("agent-orchestrator"));
tracing_subscriber::registry()
.with(filter)
@ -90,7 +90,7 @@ fn build_otlp_provider(endpoint: &str) -> Result<SdkTracerProvider, Box<dyn std:
let resource = Resource::builder()
.with_attributes([
KeyValue::new("service.name", "bterminal"),
KeyValue::new("service.name", "agent-orchestrator"),
KeyValue::new("service.version", env!("CARGO_PKG_VERSION")),
])
.build();

View file

@ -17,7 +17,8 @@
"height": 1080,
"resizable": true,
"fullscreen": false,
"decorations": true
"decorations": true,
"backgroundColor": [30, 30, 46, 255]
}
],
"security": {