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(remote-access): parse posix-quoted process commands
cyh680a3dfa91b0
diff --git a/tests/test_remote_access_vibe_cloud.py b/tests/test_remote_access_vibe_cloud.pyindex 03d8ef1ee..a99114d46 100644--- a/tests/test_remote_access_vibe_cloud.py+++ b/tests/test_remote_access_vibe_cloud.py@@ -206,6 +206,17 @@ def test_cloudflared_pid_detection_handles_quoted_paths_with_spaces(monkeypatch)assert remote_access._is_cloudflared_pid(123) is True+def test_cloudflared_pid_detection_handles_posix_quoted_paths_with_single_quotes(monkeypatch) -> None:+ monkeypatch.setattr(runtime, "pid_alive", lambda pid: pid == 123)+ monkeypatch.setattr(+ runtime,+ "get_process_command",+ lambda pid: "'/tmp/O'\"'\"'Reilly/cloudflared' tunnel --no-autoupdate run",+ )++ assert remote_access._is_cloudflared_pid(123) is True++def test_stop_preserves_pid_file_when_process_stop_fails(monkeypatch, tmp_path) -> None:monkeypatch.setenv("VIBE_REMOTE_HOME", str(tmp_path))pid = 123diff --git a/vibe/remote_access.py b/vibe/remote_access.pyindex 9f930d6ec..b348760df 100644--- a/vibe/remote_access.py+++ b/vibe/remote_access.py@@ -179,9 +179,12 @@ def _cloudflared_pid_state(pid: int | None) -> str:if not command:return "unknown"try:- parts = shlex.split(command.strip(), posix=False)+ parts = shlex.split(command.strip(), posix=True)except ValueError:- parts = command.strip().split()+ try:+ parts = shlex.split(command.strip(), posix=False)+ except ValueError:+ parts = command.strip().split()executable = parts[0].strip("\"'") if parts else ""executable_name = Path(executable).name.lower()windows_name = ntpath.basename(executable).lower()