mirror of
https://github.com/block/buzz.git
synced 2026-11-30 21:21:48 +00:00
chore(desktop): merge origin/main into workspace-scoped-agent-store
Adopt spawn_hash → spawn_snapshot rename from main; migrate spawn_config_hash: 0 test fixtures to prospective_spawn_config_snapshot() calls in global_agent_config tests, epoch tests, and runtime_commands tests. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
commit
4634fe1b39
@@ -14,12 +14,14 @@ import { getIdentity } from "@/shared/api/tauriIdentity";
|
||||
import { clearTrayAgentActivity } from "@/shared/api/trayMenu";
|
||||
import { getOverrides } from "@/shared/features";
|
||||
import { resetMediaCaches } from "@/shared/lib/mediaUrl";
|
||||
import { resetLinkPreviewTitleCache } from "@/shared/lib/useResolvedLinkPreviews";
|
||||
import { clearSearchHitEventCache } from "@/app/navigation/searchHitEventCache";
|
||||
import {
|
||||
clearAllDrafts,
|
||||
initDraftStore,
|
||||
} from "@/features/messages/lib/useDrafts";
|
||||
import { resetRenderScopedReactionHydration } from "@/features/messages/lib/renderScopedReactions";
|
||||
import { resetBackgroundMediaUploads } from "@/features/messages/lib/backgroundMediaUploadStore";
|
||||
import {
|
||||
resetActiveAgentTurnsStore,
|
||||
saveActiveAgentTurnsForCommunity,
|
||||
@@ -68,8 +70,10 @@ function resetCommunityState({
|
||||
resetMediaCaches();
|
||||
resetVideoPlayerState();
|
||||
resetRenderScopedReactionHydration();
|
||||
resetBackgroundMediaUploads();
|
||||
clearSearchHitEventCache();
|
||||
clearMarkdownNodeCache();
|
||||
resetLinkPreviewTitleCache();
|
||||
}
|
||||
|
||||
type CommunityInitResult =
|
||||
|
||||
Reference in New Issue
Block a user