Skip to content

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.

fix(host): restore baseline CI checks (#103)

Sean Ferguson92d9d4c45a70
diff --git a/host/src/tui/manage/skill.rs b/host/src/tui/manage/skill.rs
index c98a0a53..7289ba88 100644
--- a/host/src/tui/manage/skill.rs
+++ b/host/src/tui/manage/skill.rs
@@ -60,13 +60,11 @@ impl App {
let half = (s.page.get() / 2).max(1);
match k.code {
KeyCode::Esc | KeyCode::Char('q') => return None,
- KeyCode::Enter => match s.source.clone().filter(|_| !self.skill_installed(&s)) {
- Some(source) => {
- self.flash("Installing the skill…");
- self.sheet("installSkill", json!({"source": source}), Reply::FieldsSaved);
- }
- None => return None,
- },
+ KeyCode::Enter => {
+ let source = s.source.clone().filter(|_| !self.skill_installed(&s))?;
+ self.flash("Installing the skill…");
+ self.sheet("installSkill", json!({"source": source}), Reply::FieldsSaved);
+ }
KeyCode::Down | KeyCode::Char('j') => s.scroll = (s.scroll + 1).min(max),
KeyCode::Up | KeyCode::Char('k') => s.scroll = s.scroll.saturating_sub(1),
KeyCode::PageDown => s.scroll = (s.scroll + half).min(max),
diff --git a/host/tests/fixtures/wire-shape.json b/host/tests/fixtures/wire-shape.json
index 7efda563..42bfcd1c 100644
--- a/host/tests/fixtures/wire-shape.json
+++ b/host/tests/fixtures/wire-shape.json
@@ -155,7 +155,7 @@
"event:hello.rev": "number",
"event:hello.type": "string",
"hello": "object",
- "hello.analytics": "null",
+ "hello.analytics": "bool",
"hello.boxKey": "string",
"hello.cloud": "null",
"hello.computerId": "string",