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:
parent
ef3548a569
commit
a63e6711ac
52 changed files with 3889 additions and 169 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// btmsg — Access to btmsg SQLite database
|
||||
// Database at ~/.local/share/bterminal/btmsg.db (created by btmsg CLI)
|
||||
// Database at ~/.local/share/agor/btmsg.db (created by btmsg CLI)
|
||||
// Path configurable via init() for test isolation.
|
||||
|
||||
use rusqlite::{params, Connection, OpenFlags};
|
||||
|
|
@ -19,7 +19,7 @@ fn db_path() -> PathBuf {
|
|||
DB_PATH.get().cloned().unwrap_or_else(|| {
|
||||
dirs::data_dir()
|
||||
.unwrap_or_else(|| PathBuf::from("."))
|
||||
.join("bterminal")
|
||||
.join("agor")
|
||||
.join("btmsg.db")
|
||||
})
|
||||
}
|
||||
|
|
@ -1897,7 +1897,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn test_checkpoint_wal_nonexistent_db_is_ok() {
|
||||
let result = crate::checkpoint_wal(std::path::Path::new("/tmp/nonexistent_bterminal_test.db"));
|
||||
let result = crate::checkpoint_wal(std::path::Path::new("/tmp/nonexistent_agor_test.db"));
|
||||
assert!(result.is_ok(), "checkpoint_wal should return Ok for missing DB");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue