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
feat(linux): follow the new chat, group and dialog behaviour
leepokai63a5f2c3093b
diff --git a/apps/linux/src/dialogs.rs b/apps/linux/src/dialogs.rsindex 43c5f784..d28abbff 100644--- a/apps/linux/src/dialogs.rs+++ b/apps/linux/src/dialogs.rs@@ -1049,7 +1049,7 @@ pub fn bot_menu(ui: &App, parent: >k::Widget, point: Option<(f64, f64)>, id: &items.push(MenuItem::new("mail-unread-symbolic","Mark as Read",- Box::new(move || client::call("markRead", json!({"botId": id2}), |_| {})),+ Box::new(move || client::call("markRead", json!({"botId": id2, "all": true}), |_| {})),));}{diff --git a/apps/linux/src/rows.rs b/apps/linux/src/rows.rsindex c79d4e60..38014265 100644--- a/apps/linux/src/rows.rs+++ b/apps/linux/src/rows.rs@@ -576,10 +576,13 @@ pub fn thread_chip(ui: &App, st: &State, e: &Value, end: bool, indent: i32) -> O},&["footnote", "semibold"],));- inner.append(&label(- &day(t["lastAt"].as_i64().unwrap_or(0)),- &["footnote", "tertiary"],- ));+ match t["unread"].as_i64().unwrap_or(0) {+ 0 => inner.append(&label(+ &day(t["lastAt"].as_i64().unwrap_or(0)),+ &["footnote", "tertiary"],+ )),+ unread => inner.append(&label(&format!("{unread} new"), &["footnote", "semibold"])),+ }let chevron = gtk::Image::from_icon_name("go-next-symbolic");chevron.set_pixel_size(10);chevron.add_css_class("tertiary");diff --git a/apps/linux/src/ui.rs b/apps/linux/src/ui.rsindex 5c730930..c95984e1 100644--- a/apps/linux/src/ui.rs+++ b/apps/linux/src/ui.rs@@ -1705,7 +1705,11 @@ pub fn mark_read(ui: &App) {if let Some(bot) = st.current.as_ref().and_then(|id| st.bots.get(id))&& bot["unread"].as_i64().unwrap_or(0) > 0{- client::call("markRead", json!({"botId": bot["id"]}), |_| {});+ client::call(+ "markRead",+ json!({"botId": bot["id"], "threadId": st.open_thread}),+ |_| {},+ );}}