MCPcopy Create free account
hub / github.com/block/buzz / saveActiveWorkspaceId

Function saveActiveWorkspaceId

desktop/src/features/workspaces/workspaceStorage.ts:77–79  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

75}
76
77export function saveActiveWorkspaceId(id: string): void {
78 setLocalStorageItemWithRecovery(ACTIVE_WORKSPACE_KEY, id);
79}
80
81export function normalizeRelayUrl(url: string): string {
82 if (!url.startsWith("ws://") && !url.startsWith("wss://")) {

Callers 2

useWorkspacesInternalFunction · 0.90
initFirstWorkspaceFunction · 0.85

Calls 1

Tested by

no test coverage detected