refactor!: rebrand bterminal to agor (agents-orchestrator)

Rename Cargo crates (bterminal-core→agor-core, bterminal-relay→agor-relay),
env vars (BTERMINAL_*→AGOR_*), config paths (~/.config/agor), CSS custom
properties, plugin API object, package names, and all documentation.

BREAKING CHANGE: config/data paths changed from bterminal to agor.
This commit is contained in:
Hibryda 2026-03-17 01:12:25 +01:00
parent ef3548a569
commit a63e6711ac
52 changed files with 3889 additions and 169 deletions

View file

@ -74,7 +74,7 @@ impl ProjectFsWatcher {
cwd: &str,
) -> Result<(), String> {
// In test mode, skip inotify watchers to avoid resource contention and flaky events
if std::env::var("BTERMINAL_TEST").map_or(false, |v| v == "1") {
if std::env::var("AGOR_TEST").map_or(false, |v| v == "1") {
log::info!("Test mode: skipping fs watcher for project {project_id}");
return Ok(());
}
@ -333,7 +333,7 @@ mod tests {
#[test]
fn test_count_watched_dirs_tempdir() {
let tmp = std::env::temp_dir().join("bterminal_test_count_dirs");
let tmp = std::env::temp_dir().join("agor_test_count_dirs");
let _ = std::fs::remove_dir_all(&tmp);
std::fs::create_dir_all(tmp.join("src/lib")).unwrap();
std::fs::create_dir_all(tmp.join("node_modules/pkg")).unwrap(); // should be skipped