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(show-pages): allow resource access reads through proxy
Maxdbce46cd8906
diff --git a/tests/test_cloud_management.py b/tests/test_cloud_management.pyindex a08d5812d..c2ed424c3 100644--- a/tests/test_cloud_management.py+++ b/tests/test_cloud_management.py@@ -380,6 +380,22 @@ def test_remote_viewer_can_use_identity_gate_but_only_allowlisted_proxy_paths()[email protected]("method", ["GET", "PATCH"])+def test_resource_access_proxy_allows_read_and_patch(method: str) -> None:+ assert cloud_management.proxy_path_allowed(+ method,+ "/api/organizations/org_1/resources/inst_123/show_page/session_1/access",+ )++[email protected]("method", ["POST", "PUT", "DELETE"])+def test_resource_access_proxy_rejects_other_methods(method: str) -> None:+ assert not cloud_management.proxy_path_allowed(+ method,+ "/api/organizations/org_1/resources/inst_123/show_page/session_1/access",+ )++def test_chunked_proxy_request_is_bounded_before_json_parsing(monkeypatch, tmp_path) -> None:config = _save_config(monkeypatch, tmp_path)client = _remote_client(config, role="viewer")diff --git a/vibe/cloud_management.py b/vibe/cloud_management.pyindex bd1101989..9df1fd4ac 100644--- a/vibe/cloud_management.py+++ b/vibe/cloud_management.py@@ -406,7 +406,7 @@ _PROXY_RULES: tuple[tuple[str, str], ...] = (("PUT", r"/api/organizations/[^/]+/groups/[^/]+/members"),("GET", r"/api/organizations/[^/]+/instances"),("GET", r"/api/organizations/[^/]+/resources"),- ("PATCH", r"/api/organizations/[^/]+/resources/[^/]+/[^/]+/[^/]+/access"),+ ("GET|PATCH", r"/api/organizations/[^/]+/resources/[^/]+/[^/]+/[^/]+/access"),("GET|POST|PUT|DELETE", r"/api/instances/[^/]+/authorized-users"),("GET", r"/api/instances/[^/]+/projects"),("GET|PUT", r"/api/instances/[^/]+/projects/[^/]+/access"),