Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

test(rebrand): align avibe prompt assertions

cyh341009dcb890
diff --git a/tests/test_cli_task_command.py b/tests/test_cli_task_command.py
index 1c71206c9..ee4e94d01 100644
--- a/tests/test_cli_task_command.py
+++ b/tests/test_cli_task_command.py
@@ -180,7 +180,7 @@ def test_task_help_describes_session_id_guidance(capsys) -> None:
assert exc.value.code == 0
captured = capsys.readouterr()
- assert "Create, inspect, and control scheduled Agent messages for Vibe Remote." in captured.out
+ assert "Create, inspect, and control scheduled Agent messages for avibe." in captured.out
assert "vibe task add --session-id sesk8m4q2p7x" in captured.out
assert "{add,update,list,show,pause,resume,run,remove}" in captured.out
assert "rm (remove)" not in captured.out
@@ -196,7 +196,7 @@ def test_task_add_help_includes_examples_and_threadless_guidance(capsys) -> None
assert exc.value.code == 0
captured = capsys.readouterr()
assert "If this is your first time using this command, read this whole help entry before creating a task." in captured.out
- assert "`--session-id` chooses which Agent Session Vibe Remote will continue using when the task runs." in captured.out
+ assert "`--session-id` chooses which Agent Session avibe will continue using when the task runs." in captured.out
assert "--post-to" in captured.out
assert "--deliver-key" in captured.out
diff --git a/tests/test_command_handler_user_names.py b/tests/test_command_handler_user_names.py
index 5636cbb57..1e3ceee24 100644
--- a/tests/test_command_handler_user_names.py
+++ b/tests/test_command_handler_user_names.py
@@ -135,7 +135,7 @@ class CommandHandlerUserNameTests(unittest.IsolatedAsyncioTestCase):
[
(
"D123",
- "✅ 绑定成功!欢迎,Alex。你现在可以通过私信使用 Vibe Remote。\n\n"
+ "✅ 绑定成功!欢迎,Alex。你现在可以通过私信使用 avibe。\n\n"
"要打开操作菜单,直接 @bot 即可,不需要加任何内容。",
)
],
@@ -159,7 +159,7 @@ class CommandHandlerUserNameTests(unittest.IsolatedAsyncioTestCase):
[
(
"wx-user",
- "✅ 绑定成功!欢迎,小王。你现在可以通过私信使用 Vibe Remote。\n\n"
+ "✅ 绑定成功!欢迎,小王。你现在可以通过私信使用 avibe。\n\n"
"发送 `/start` 即可唤起更多操作菜单。",
)
],
@@ -175,7 +175,7 @@ class CommandHandlerUserNameTests(unittest.IsolatedAsyncioTestCase):
self.assertEqual(len(controller.im_client.sent_messages), 1)
_, message = controller.im_client.sent_messages[0]
- self.assertIn("欢迎使用 Vibe Remote!", message)
+ self.assertIn("欢迎使用 avibe!", message)
self.assertIn("你好 小王!", message)
self.assertIn("/start - 显示欢迎消息", message)
self.assertIn("/setcwd <路径> - 设置工作目录", message)
diff --git a/tests/test_reply_enhancer_platform.py b/tests/test_reply_enhancer_platform.py
index bb7616d89..ef184335c 100644
--- a/tests/test_reply_enhancer_platform.py
+++ b/tests/test_reply_enhancer_platform.py
@@ -82,11 +82,11 @@ class ReplyEnhancerPlatformTests(unittest.IsolatedAsyncioTestCase):
self.assertIn("## Silent replies", prompt)
self.assertIn("<silent>reason not shown to the user</silent>", prompt)
self.assertIn(
- "If the user asks you to configure, repair, or operate Vibe Remote itself, read `https://github.com/cyhhao/vibe-remote/raw/master/skills/use-vibe-remote/SKILL.md` before making changes.",
+ "If the user asks you to configure, repair, or operate avibe itself, read `https://github.com/avibe-bot/avibe/raw/master/skills/use-vibe-remote/SKILL.md` before making changes.",
prompt,
)
self.assertIn("## Send files", prompt)
- self.assertIn("Vibe Remote provides optional capabilities:", prompt)
+ self.assertIn("avibe provides optional capabilities:", prompt)
self.assertNotIn("If you generate an image with Codex", prompt)
self.assertNotIn("## Quick-reply buttons", prompt)
self.assertIn("## Memory and Project Context", prompt)
@@ -304,9 +304,9 @@ class ReplyEnhancerPlatformTests(unittest.IsolatedAsyncioTestCase):
self.assertNotIn("Avibe Cloud is not connected", prompt)
self.assertIn("## Harness", prompt)
self.assertNotIn("## Scheduled tasks, watches, and hooks", prompt)
- self.assertIn("Vibe Remote Harness turns user intent into durable Agent work", prompt)
+ self.assertIn("avibe Harness turns user intent into durable Agent work", prompt)
self.assertIn("context, owner, trigger, session continuity, delivery target, and observable progress", prompt)
- self.assertIn("Vibe Remote Harness is the first-choice automation layer", prompt)
+ self.assertIn("avibe Harness is the first-choice automation layer", prompt)
self.assertIn("route through `vibe agent`, `vibe task`, and `vibe watch` before backend-native subagents", prompt)
self.assertIn("native workflow tools, backend-native skills", prompt)
self.assertIn("Do not default to backend-native automation just because the backend exposes it", prompt)
@@ -326,7 +326,7 @@ class ReplyEnhancerPlatformTests(unittest.IsolatedAsyncioTestCase):
self.assertNotIn("--session-key", prompt)
self.assertNotIn("Channel-level session key:", prompt)
self.assertIn("### Inspecting Harness state", prompt)
- self.assertIn("Use `vibe data query` to inspect Vibe Remote state with guarded read-only SQL", prompt)
+ self.assertIn("Use `vibe data query` to inspect avibe state with guarded read-only SQL", prompt)
self.assertIn("select name from sqlite_master where type='table' order by name", prompt)
self.assertIn("schema discovery, current session lookup, existing task/watch inspection, Agent run history", prompt)
self.assertIn("### Choosing the right Harness shape", prompt)
diff --git a/tests/test_vibe_cli.py b/tests/test_vibe_cli.py
index e8f8264f2..574f36a30 100644
--- a/tests/test_vibe_cli.py
+++ b/tests/test_vibe_cli.py
@@ -425,7 +425,7 @@ def test_runtime_architecture_items_warn_for_x86_python_on_apple_silicon(monkeyp
items = cli._runtime_architecture_items()
assert any(
- item["status"] == "warn" and item.get("action") == "Reinstall Vibe Remote with native arm64 uv/Python"
+ item["status"] == "warn" and item.get("action") == "Reinstall avibe with native arm64 uv/Python"
for item in items
)
@@ -628,7 +628,7 @@ def test_cmd_remote_setup_explains_before_prompting_for_key(monkeypatch, capsys)
assert events == [
("ready", "Press Enter when you have copied the pairing key, or Ctrl+C to cancel."),
("key", "Paste pairing key (input hidden): "),
- ("pair", "vrp_prompt", "https://avibe.bot", "Vibe Remote"),
+ ("pair", "vrp_prompt", "https://avibe.bot", "avibe"),
]
output = capsys.readouterr().out
assert "Open https://avibe.bot" in output