Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
fix(host): keep oh-my-pi window names when one provider has several accounts
leepokai8e3ace75f1af
diff --git a/host/src/usage/command.rs b/host/src/usage/command.rsindex 35957d3d..a940fa93 100644--- a/host/src/usage/command.rs+++ b/host/src/usage/command.rs@@ -32,6 +32,7 @@ pub(super) async fn output(&& let Some(mut input) = child.stdin.take(){use tokio::io::AsyncWriteExt;+ // A CLI that didn't get its command prints no usage: the empty answer below reads as no reading.let _ = input.write_all(text.as_bytes()).await;}let done = tokio::time::timeout(timeout, child.wait_with_output()).await.ok()?.ok()?;diff --git a/host/src/usage/kimi.rs b/host/src/usage/kimi.rsindex e1d9dc5e..ce12700e 100644--- a/host/src/usage/kimi.rs+++ b/host/src/usage/kimi.rs@@ -67,6 +67,8 @@ fn capture(bin: &Path, dir: &Path) -> Option<String> {let mut trusted = false;let mut answered = false;let mut changed = Instant::now();+ // Writes to the terminal are best effort: one that fails leaves the screen without a usage+ // panel, so the loop runs out at `WAIT` and the screen reads as no plan lines.while started.elapsed() < WAIT {while let Ok(chunk) = rx.try_recv() {raw.extend_from_slice(&chunk);diff --git a/host/src/usage/omp.rs b/host/src/usage/omp.rsindex 80f3c9db..fb98b879 100644--- a/host/src/usage/omp.rs+++ b/host/src/usage/omp.rs@@ -66,10 +66,12 @@ fn one_limit(let amount = &limit["amount"];let window_id = limit["scope"]["windowId"].as_str().or_else(|| limit["window"]["id"].as_str()).unwrap_or("limit");let raw_label = limit["label"].as_str().map(str::trim).filter(|s| !s.is_empty());+ // The account goes in parentheses: the apps read the part after " · " as Claude's model name+ // and would show "5h · ada" and "Weekly · ada" both as "ada".let label = match (raw_label, suffix) {- (Some(label), Some(suffix)) => format!("{label} · {suffix}"),+ (Some(label), Some(suffix)) => format!("{label} ({suffix})"),(Some(label), None) => label.to_owned(),- (None, Some(suffix)) => format!("{name} · {suffix}"),+ (None, Some(suffix)) => format!("{name} ({suffix})"),(None, None) => name.to_owned(),};let id = format!("{provider}:{account}:{window_id}:{n}");@@ -187,8 +189,8 @@ mod tests {let w = parse(text);assert_eq!(w[0].id, "anthropic:acct_ada:5h:0");assert_eq!(w[1].id, "anthropic:acct_grace:5h:0");- assert_eq!(w[0].label, "5h · ada");- assert_eq!(w[1].label, "5h · grace");+ assert_eq!(w[0].label, "5h (ada)");+ assert_eq!(w[1].label, "5h (grace)");}#[test]