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.

test(host): write memory files with plain newlines in the fixture on Windows

leepokaiea089567727c
diff --git a/host/tests/fixtures/memory_files_agent.py b/host/tests/fixtures/memory_files_agent.py
index 04734c4c..785e04d0 100644
--- a/host/tests/fixtures/memory_files_agent.py
+++ b/host/tests/fixtures/memory_files_agent.py
@@ -39,7 +39,7 @@ for line in sys.stdin:
head, _, body = command.partition("\n")
verb, path = head.split(" ", 1)
if verb == "WRITE":
- with open(path, "w", encoding="utf-8") as f:
+ with open(path, "w", encoding="utf-8", newline="\n") as f:
f.write(body)
elif os.path.exists(path):
os.remove(path)