Route ACP observer traffic over relay (#421)

Signed-off-by: Tyler Longwell <tlongwell@squareup.com>
Co-authored-by: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com>
Co-authored-by: Tyler Longwell <tlongwell@squareup.com>
This commit is contained in:
Bradley Axen
2026-04-30 09:34:37 -04:00
committed by GitHub
co-authored by tlongwell-block Tyler Longwell
parent 0e9c02da2d
commit fcec10547d
38 changed files with 2270 additions and 687 deletions
@@ -5,6 +5,7 @@ import { applyWorkspace, getDefaultRelayUrl } from "@/shared/api/tauri";
import { resetMediaCaches } from "@/shared/lib/mediaUrl";
import { clearSearchHitEventCache } from "@/app/navigation/searchHitEventCache";
import { clearAllDrafts } from "@/features/messages/lib/useDrafts";
import { resetAgentObserverStore } from "@/features/agents/observerRelayStore";
import type { Workspace } from "./types";
@@ -16,6 +17,7 @@ import type { Workspace } from "./types";
*/
function resetWorkspaceState(): void {
relayClient.disconnect();
resetAgentObserverStore();
resetMediaCaches();
clearSearchHitEventCache();
clearAllDrafts();