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(reply): use per-context cwd for upload allowlist, resolve /tmp on macOS
cyh2db913baa9c4
diff --git a/core/message_dispatcher.py b/core/message_dispatcher.pyindex 29227276d..c24869e95 100644--- a/core/message_dispatcher.py+++ b/core/message_dispatcher.py@@ -348,11 +348,13 @@ class ConsolidatedMessageDispatcher:logger.debug("IM client does not support upload_file_from_path; skipping file uploads")return- # Determine allowed roots for file uploads (cwd + /tmp)- allowed_roots: list[Path] = [Path("/tmp")]- cwd = getattr(self.controller.config, "runtime", None)- if cwd and hasattr(cwd, "default_cwd"):- allowed_roots.append(Path(cwd.default_cwd).resolve())+ # Determine allowed roots for file uploads (active cwd + /tmp)+ allowed_roots: list[Path] = [Path("/tmp").resolve()]+ try:+ active_cwd = self.controller.get_cwd(context)+ allowed_roots.append(Path(active_cwd).resolve())+ except Exception:+ passfor fl in files:if not os.path.isfile(fl.path):