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.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(rebrand): address avibe review feedback
cyh3b4956e39a18
diff --git a/README.md b/README.mdindex 086f792b4..4b677ae69 100644--- a/README.md+++ b/README.md@@ -379,7 +379,10 @@ npm install -g @openai/codex## Uninstall```bash-vibe stop && uv tool uninstall avibe-os && rm -rf ~/.avibe ~/.vibe_remote+vibe stop+uv tool uninstall avibe-os+uv tool uninstall vibe-remote+rm -rf ~/.avibe ~/.vibe_remote```---diff --git a/README_ZH.md b/README_ZH.mdindex 32dedd5ef..7bfcaabb9 100644--- a/README_ZH.md+++ b/README_ZH.md@@ -379,7 +379,10 @@ npm install -g @openai/codex## 卸载```bash-vibe stop && uv tool uninstall avibe-os && rm -rf ~/.avibe ~/.vibe_remote+vibe stop+uv tool uninstall avibe-os+uv tool uninstall vibe-remote+rm -rf ~/.avibe ~/.vibe_remote```---diff --git a/npm/avibe/package.json b/npm/avibe/package.jsonindex 9d4485519..a47c03c61 100644--- a/npm/avibe/package.json+++ b/npm/avibe/package.json@@ -1,6 +1,6 @@{"name": "@avibe/cli",- "version": "2.2.14",+ "version": "2.2.15","description": "NPM entrypoint for installing and running avibe","license": "MIT","author": "cyhhao",diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.shindex e75b0fdfe..ad792e5c9 100755--- a/scripts/docker-entrypoint.sh+++ b/scripts/docker-entrypoint.sh@@ -28,6 +28,13 @@ run_ui_server('0.0.0.0', ${VIBE_UI_PORT:-5123})echo "$ui_pid"}+resolve_runtime_dir() {+ python -c "+from config.paths import get_runtime_dir+print(get_runtime_dir())+"+}+write_runtime_status() {local state="$1"local detail="$2"@@ -187,7 +194,7 @@ run_ui_server('0.0.0.0', ${VIBE_UI_PORT:-5123})SERVICE_PID=$!# Write PID for runtime tracking- RUNTIME_DIR="${VIBE_REMOTE_HOME:-$HOME/.vibe_remote}/runtime"+ RUNTIME_DIR="$(resolve_runtime_dir)"mkdir -p "$RUNTIME_DIR"echo "$SERVICE_PID" > "$RUNTIME_DIR/vibe.pid"diff --git a/tests/test_docker_entrypoint_supervisor.py b/tests/test_docker_entrypoint_supervisor.pyindex 5639556b9..695a75532 100644--- a/tests/test_docker_entrypoint_supervisor.py+++ b/tests/test_docker_entrypoint_supervisor.py@@ -23,8 +23,10 @@ class DockerEntrypointSupervisorTests(unittest.TestCase):textwrap.dedent("""\#!/usr/bin/env python3+ import osimport sysimport time+ from pathlib import Pathargs = sys.argv[1:]if args and args[0] == "main.py":@@ -32,6 +34,9 @@ class DockerEntrypointSupervisorTests(unittest.TestCase):if len(args) >= 2 and args[0] == "-c":code = args[1]+ if "get_runtime_dir" in code:+ print(Path(os.environ["VIBE_REMOTE_HOME"]) / "runtime")+ sys.exit(0)if "run_ui_server" in code:time.sleep(30)sys.exit(0)@@ -59,6 +64,77 @@ class DockerEntrypointSupervisorTests(unittest.TestCase):self.assertEqual(result.returncode, 42, result.stdout + result.stderr)self.assertIn("Service exited unexpectedly", result.stderr)+ def test_full_mode_uses_avibe_home_for_runtime_dir(self):+ with tempfile.TemporaryDirectory() as tmpdir:+ tmp_path = Path(tmpdir)+ fake_python = tmp_path / "python"+ fake_python.write_text(+ textwrap.dedent(+ """\+ #!/usr/bin/env python3+ import os+ import sys+ import time+ from pathlib import Path++ args = sys.argv[1:]+ avibe_runtime_dir = Path(os.environ["AVIBE_HOME"]) / "runtime"++ if args and args[0] == "main.py":+ time.sleep(30)+ sys.exit(0)++ if len(args) >= 2 and args[0] == "-c":+ code = args[1]+ if "get_runtime_dir" in code:+ print(avibe_runtime_dir)+ sys.exit(0)+ if "run_ui_server" in code:+ time.sleep(30)+ sys.exit(0)+ if "write_status" in code:+ avibe_runtime_dir.mkdir(parents=True, exist_ok=True)+ (avibe_runtime_dir / "status.json").write_text("{}", encoding="utf-8")+ sys.exit(0)+ if "stop_service" in code or "ensure_data_dirs" in code:+ sys.exit(0)+ sys.exit(0)+ """+ ),+ encoding="utf-8",+ )+ fake_python.chmod(fake_python.stat().st_mode | stat.S_IEXEC)++ env = os.environ.copy()+ env["PATH"] = f"{tmp_path}{os.pathsep}{env.get('PATH', '')}"+ env["AVIBE_HOME"] = str(tmp_path / "avibe-home")+ env["VIBE_REMOTE_HOME"] = str(tmp_path / "legacy-home")++ proc = subprocess.Popen(+ ["bash", str(ENTRYPOINT), "full"],+ cwd=REPO_ROOT,+ env=env,+ stdout=subprocess.PIPE,+ stderr=subprocess.PIPE,+ text=True,+ start_new_session=True,+ )+ try:+ runtime_pid_path = Path(env["AVIBE_HOME"]) / "runtime" / "vibe.pid"+ for _ in range(50):+ if runtime_pid_path.exists():+ break+ time.sleep(0.1)+ self.assertTrue(runtime_pid_path.exists())+ self.assertFalse((Path(env["VIBE_REMOTE_HOME"]) / "runtime" / "vibe.pid").exists())+ finally:+ os.killpg(proc.pid, signal.SIGTERM)+ try:+ proc.communicate(timeout=5)+ except subprocess.TimeoutExpired:+ os.killpg(proc.pid, signal.SIGKILL)+ proc.communicate(timeout=5)+def test_full_mode_tracks_restarted_service_pid(self):with tempfile.TemporaryDirectory() as tmpdir:tmp_path = Path(tmpdir)@@ -85,6 +161,9 @@ class DockerEntrypointSupervisorTests(unittest.TestCase):if len(args) >= 2 and args[0] == "-c":code = args[1]+ if "get_runtime_dir" in code:+ print(runtime_dir)+ sys.exit(0)if "run_ui_server" in code:def restart_service_later():time.sleep(2)@@ -172,6 +251,9 @@ class DockerEntrypointSupervisorTests(unittest.TestCase):if len(args) >= 2 and args[0] == "-c":code = args[1]+ if "get_runtime_dir" in code:+ print(runtime_dir)+ sys.exit(0)if "run_ui_server" in code:def stop_service_later():time.sleep(0.5)